Question
code-server failing to start. Code exited Error 127
Hi All,
I’ve been following this instruction from Digital Ocean how to set up a code-server in a droplet.
Everytime I start the service, it would be failing to start.
The version I downloaded is 3.1.0 from the latest build of code-server.
Any advice is appreciated.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
I was stuck with this same error yesterday. It seems that Netlify did not like seeing both package-lock.json and yarn.lock files. I’ve been using npm as my package manager, so I deleted yarn.lock and my builds started to work again.
I would also suggest deleting node_modules, package-lock.json, and doing a fresh npm install, just to be thorough.