Skip to content
This repository was archived by the owner on Sep 23, 2022. It is now read-only.

Incompatitable with Node version 16.6.2 #11

Open
Tauheed-Elahee opened this issue Aug 14, 2021 · 1 comment
Open

Incompatitable with Node version 16.6.2 #11

Tauheed-Elahee opened this issue Aug 14, 2021 · 1 comment

Comments

@Tauheed-Elahee
Copy link

Here is the end of the output at stage 2 when I ran yarn:

Successfully compiled 12 files with Babel.
warning [email protected]: The engine "vscode" appears to be invalid.
warning [email protected]: The engine "vscode" appears to be invalid.
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=10.11.0 <12". Got "16.6.2"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

I'm not very familiar with node. How do I get this issue resolved?

@Jaakkonen
Copy link

From yarn.lock you can see that the problematic package ([email protected]) is required by @theia/git which lives here: https://github.com/eclipse-theia/theia/blob/master/packages/git/package.json. The problematic package in turn lives here: https://github.com/theia-ide/dugite-extra and just doesn't have support for newer Node.js versions.
If you're feeling lucky you can try to contribute a patch to the dugite-extra repo to add support for newer node.js engine versions but I expect there to be hurdles with other packages after that. npm link should be helpful when setting up the projects to use your modified version of a dependency. There's a ok-ish medium article of using that here

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants