-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Found incompatible module #6339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
code-server only supports Node 16.
But, you can run with Node 20 at your own risk with:
FORCE_NODE_VERSION=20 yarn global add code-server --ignore-engines
|
node lts is in termux version 18, it isn't possible to install the coder on it |
Yeah it is unfortunate but we cannot update to Node 18 until VS
Code updates (#6230).
What about the code-server Termux package? Does that work?
```
pkg install tur-repo
pkg install code-server
```
https://github.com/coder/code-server/blob/main/docs/termux.md#install
|
This method works, but we can use nvm.(https://github.com/nvm-sh/nvm) I tested it, but I didn't have time to execute it properly |
Oh yeah good point. There is also https://www.npmjs.com/package/n
which I prefer since you do not have to source anything.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi I'm using termux for installing app
But i have problem in install coder
yarn global add code-server
yarn global v1.22.19
warning package.json: No license field
[1/4] Resolving packages...
info There appears to be trouble with your network connection. Retrying...
warning code-server > proxy-agent > pac-proxy-agent > pac-resolver > degenerator > [email protected]: The library contains critical security issues and should not be used for production! The maintenance of the project has been discontinued. Consider migrating your code to isolated-vm.
[2/4] Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version "16". Got "20.2.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
I'm checking node version and yarn docs i thinking its a bug
node --version
v20.2.0
The text was updated successfully, but these errors were encountered: