Yarn installation fails incompatible engine 'node'
See original GitHub issueOS/Web Information
- Web Browser: ~
- Local OS: Android q aarch64 (arm64)
- Remote OS: ~
- Remote Architecture: ~
code-server --version: latest
Steps to Reproduce
- Latest termux version
- apt update && apt upgrade && apt install build-essential python git nodejs-lts yarn
3.yarn global add code-server
Expected
Install?
Actual
yarn complains about nodejs version expected v14 (the old lts) The problem is the nodejs-lts is now v16 how can i get v14? Should I go with the standalone install?
Screenshot

Issue Analytics
- State:
- Created 2 years ago
- Comments:21 (8 by maintainers)
Top Results From Across the Web
The engine "node" is incompatible with this module
yarn install --ignore-engines. It avoids the issue instead of solving it. A possible solution would be to update your node to version >...
Read more >[yarn][beta] "engine node is incompatible" error #1200 - GitHub
This issue may be caused by an out of date package cache that is downloading a different version of fetch-blob than the one...
Read more >Yarn install failing - Google Groups
Hi Lewatle, By searching that Yarn error on Google, I came across this suggestion from StackOverflow: https://stackoverflow.com/a/51508426 It notes that in ...
Read more >The engine "node" is incompatible error when tryin...
From the error message you are receiving, the node engine that you currently have setup in your application is outdated for the dependencies...
Read more >The engine "node" is incompatible with this module. Expected ...
Hi, This seems like a common error but I'm still not finding a solution. My site works on my local machine but fails...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@RoyGalaxy, @code-asher told VS-Code is not compatible with that Node.js version yet, so the least we can do is just wait. Or, if you use Termux, persuade theyr developers to downgrade Node package, or make them offer a build 14 as a separate package, which is what I’m trying to do here: https://github.com/termux/termux-packages/issues/7930
Look at the link, it now works!