You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"})
The text was updated successfully, but these errors were encountered:
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.
When I try to install closh via
npm install closh
I get this error:The text was updated successfully, but these errors were encountered: