You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running code server using the latest docker image, an error appears in the console
WARN Uncaught Exception: Error: Unexpected end of JSON input
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at pfs_1.readFile.then.contents (/src/packages/server/build/bootstrap-fork.js.gz:82195:45)
at <anonymous>
at Timeout.setTimeout [as _onTimeout] (/src/packages/server/build/bootstrap-fork.js.gz:57511:27)
at ontimeout (timers.js:498:11)
at tryOnTimeout (timers.js:323:5)
at Timer.listOnTimeout (timers.js:290:5)
Steps to Reproduce
Open docker
docker run -t -p 127.0.0.1:8443:8443 -v "${PWD}:/root/project" codercom/code-server
This happens when the backup workspaces.json file can't be parsed because it's not valid JSON. For now please ignore this as it won't prevent the editor from functioning.
Reacted by John McCambridge, bjayakumar and tackman
Activity
tackman commentedon Apr 3, 2019
Exact same error occurred in my environment (Arch Linux). Can anybody help us?
code-asher commentedon Apr 3, 2019
This happens when the backup workspaces.json file can't be parsed because it's not valid JSON. For now please ignore this as it won't prevent the editor from functioning.
Initialize backup service
Initialize backup service
Initialize backup service
Initialize backup service
Initialize backup service (#419)
Initialize backup service (#419)