Error when automatically starting the script after deploying from git

SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at AppPicker.reloadApp (/opt/watcher/source/app-picker.ts:236:31)
at process._tickCallback (internal/process/next_tick.js:68:7)

Искренне не понимаю из за чего возникает эта ошибка
Как пофиксить? Если нудна какая-то доп инфа то без проблем

I genuinely don’t understand what is causing this error.
How can I fix it? If any additional information is needed, please let me know.

the app picker looks at package.json. see if there’s a syntax problem in there

1 Like

“scripts”: {
“start”: “sh”
“license”: “MIT”,
“dependencies”: {
“express”: “^4.17.1”
“engines”: {
“node”: “12.x”,
“npm”: “6.x”,
“python”: “3.8”

Here is the content of my package.json file, and I don’t see any errors there. I don’t deny that I might have overlooked something due to lack of attention. If that’s the case, please let me know what I missed.

dang, that does look pretty proper. can you make sure it has straight quotes like "?

also maybe see if there’s a problem with .glitchdotcom.json

1 Like