Issues running code-server locally. #3327
-
Hello, I am able to start the code-server locally using install and it is working perfectly. But I try to run it by closing the repo and running yarn & yarn watch. It is loading fine but not able to open integrated terminal. Getting the below error. Tried troubleshooting this by switching to different node versions but no luck. Can some one please help me on how to fix this issue. Error: The terminal process failed to launch: A native exception occurred during launch (The module '~/code-server/lib/vscode/node_modules/node-pty/build/Release/pty.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 87. This version of Node.js requires NODE_MODULE_VERSION 83. Please try re-compiling or re-installing the module (for instance, using |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
I usually fix this by going into It seems to happen when the modules were installed with one version of Node and code-server is ran with a different version but the weird thing is that it happens to me even if I only have one version of Node installed so I'm not sure what's going on. |
Beta Was this translation helpful? Give feedback.
-
Thank you so much! It worked live a charm |
Beta Was this translation helpful? Give feedback.
-
I want to run the project locally in windows, but I get an error. How do you run it locally after you pull the code? |
Beta Was this translation helpful? Give feedback.
I usually fix this by going into
lib/vscode
and runningnpm rebuild
.It seems to happen when the modules were installed with one version of Node and code-server is ran with a different version but the weird thing is that it happens to me even if I only have one version of Node installed so I'm not sure what's going on.