question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Yarn installation fails incompatible engine 'node'

See original GitHub issue

OS/Web Information

  • Web Browser: ~
  • Local OS: Android q aarch64 (arm64)
  • Remote OS: ~
  • Remote Architecture: ~
  • code-server --version: latest

Steps to Reproduce

  1. Latest termux version
  2. 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

Screenshot_20211029_232247

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:21 (8 by maintainers)

github_iconTop GitHub Comments

4reactions
anonimo82commented, Nov 5, 2021

@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

2reactions
anonimo82commented, Nov 5, 2021

Look at the link, it now works!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found