Requires node to be installed globally
See original GitHub issueIs this a bug report or a feature request?
๐
Please specify whether this is a feature request ๐ or a bug ๐.
Version Info
- Version of Majestic: 0.1.0
- Version of Jest: 22.0.3
- Version of Node: (not installed globally), using nvm: 9.3.0 is the default
- Operating System: macOS 10.13.2
Info
The โoutputโ is env: node: No such file or directory
Maybe run nvm use
in the directory if nvm is available?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:8
- Comments:16 (4 by maintainers)
Top Results From Across the Web
NodeJS require a global module/package - Stack Overflow
In Node.js, require doesn't look in the folder where global modules are installed. You can fix this by setting the NODE_PATH environment variable....
Read more >What is global installation of dependencies in Node.js
The global installation of dependencies in Node.js is putting global packages in a single place in the system exactly where it depends onย ......
Read more >Downloading and installing Node.js and npm
To publish and install packages to and from the public npm registry or a private npm registry, you must install Node.js and the...
Read more >Maybe don't globally-install that Node.js package - codeburst
Every single one of these scripts can be executed from your project's node_modules/. bin directory without issue. You do not need to install...
Read more >Use Global Node Modules in Normal Nodejs App/Script
Use global Node_Modules in Nodejs app using requireg npm module ... It support both npm/yarn global packages installation paths.But you have toย ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
nvm exec ...
should work, it falls back to the defaultalias
I have the same problem, using also nvm.
I think that the correct command should be
nvm use default