lukesyy/jd_yun

read config error:SyntaxError: Unexpected token { in JSON at position 2404

jiangwe1 opened this issue · 2 comments

_START RequestId:7ee36626-95d5-4d3d-abb6-91479e151a99

2022-01-12T06:00:01.756Z 7ee36626-95d5-4d3d-abb6-91479e151a99 hourly config触发,当前: 14

2022-01-12T06:00:01.757Z 7ee36626-95d5-4d3d-abb6-91479e151a99 /var/user/config.json 存在

2022-01-12T06:00:01.758Z 7ee36626-95d5-4d3d-abb6-91479e151a99 read config error:SyntaxError: Unexpected token { in JSON at position 2404

Response RequestId:7ee36626-95d5-4d3d-abb6-91479e151a99 RetMsg:null

END RequestId:7ee36626-95d5-4d3d-abb6-91479e151a99

Report RequestId:7ee36626-95d5-4d3d-abb6-_

也许是因为config.json的内容格式不对

在你部署的环境修改config.json文件将重复的删掉就可以了

现在的pipeline会自动从原始repo pull代码,然后再部署,会覆盖我的改动

现在的管道会自动从原始仓库拉代码,然后再部署,会覆盖我的打印

我已经把GitHub上的自动部署给关了,然后直接修改的部署环境上的config,等这个库文件更新再打开就行了

请用原版仓库
https://github.com/zero205/JD_tencent_scf
用盗版仓库不要进群反馈问题!!!自己找这位大佬解决
爱用谁的用谁的,别用这个进原版群反馈!