Skip to content
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

Unable to install theia dependencies #8120

Closed
varadekd opened this issue Jun 30, 2020 · 6 comments
Closed

Unable to install theia dependencies #8120

varadekd opened this issue Jun 30, 2020 · 6 comments

Comments

@varadekd
Copy link

varadekd commented Jun 30, 2020

Bug Description: I am trying to install all the dependencies for the theia editor but I am not able to download it.

Steps to Reproduce:

  1. Create a dir name theiaEditor
  2. Go to the theiaEditor
  3. add package.json from here https://theia-ide.org/docs/composing_applications/
  4. run yarn in your terminal

Error

warning monaco-languageclient@0.13.0: The engine "vscode" appears to be invalid.
warning vscode-languageclient@6.1.3: The engine "vscode" appears to be invalid.
error find-git-exec@0.0.2: The engine "node" is incompatible with this module. Expected version ">=10.11.0 <12". Got "12.18.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Additional Information

  • Operating System: Mac OS catalina 10.15.5
  • Node Version: 12.8.1
@vince-fugnitto
Copy link
Member

@varadekd the error message is quite clear, you attempted to install with an unsupported node version:

Expected version ">=10.11.0 <12". Got "12.18.1"

Additional Info:

@vince-fugnitto
Copy link
Member

You can also reference the prerequisites.

@Unifex
Copy link

Unifex commented Nov 10, 2021

I was having this issue today also. Old version of node led me here.

The Prerequisites no longer work. There is a reference to the Active LTS for NodeJS. You need to use the v12 Maintenance LTS instead.

Looking at the release history at the time @vince-fugnitto made their comment v12 would have been the Active LTS.

@vince-fugnitto
Copy link
Member

@Unifex thank you for the discussion, what exact issue were you having and at what version of the framework?

@DayronDLR
Copy link

image

In the prerequisites they said this... however, yarn doesn't work in the Theia package even complying with the prerequisites.

image

Now, when I use nvm 11, the error is this...

image

@vince-fugnitto
Copy link
Member

@DayronDLR what version of @theia are you attempting to build? If you try the latest or build master it should definitely work, I haven't seen Node 11 used for quite some time. It may also be that you need to upgrade your yarn.lock if you haven't already done so.

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

No branches or pull requests

4 participants