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

Closh requires node version 9, but your version is v12.18.3 #175

Open
akond opened this issue Nov 20, 2020 · 1 comment
Open

Closh requires node version 9, but your version is v12.18.3 #175

akond opened this issue Nov 20, 2020 · 1 comment

Comments

@akond
Copy link

akond commented Nov 20, 2020

When I try to install closh via npm install closh I get this error:

ERROR: Closh requires node version 9, but your version is v12.18.3.

Please switch to the required node version and install closh again.

To switch node versions you can use nvm, learn more at https://github.com/creationix/nvm

Once you have nvm you can install the proper node version with:

$ nvm install v9 && nvm use v9

npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"9.x"} (current: {"node":"12.18.3","npm":"6.14.6"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
npm WARN enoent ENOENT: no such file or directory, open '/home/akond/package.json'
npm WARN akond No description
npm WARN akond No repository field.
npm WARN akond No README data
npm WARN akond No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
@dundalek
Copy link
Owner

It is like the message says, because of binary modules you need the node version 9. Unfortunately, the project Lumo which is used by closh for nodejs runtime is no longer maintained, so I am not planning to put work into upgrading support for newer node versions.

I suggest you try the Java based version instead. I am working on a way to package closh in a single binary so it will run without Java. After that is complete, I think I will retire the nodejs version completely.

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

2 participants