question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. Itย collects links to all the places you might be looking at while hunting down a tough bug.

And, if youโ€™re still stuck at the end, weโ€™re happy to hop on a call to see how we can help out.

Requires node to be installed globally

See original GitHub issue

Is 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:closed
  • Created 6 years ago
  • Reactions:8
  • Comments:16 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
zanza00commented, Jan 9, 2018

nvm exec ... should work, it falls back to the default alias

3reactions
zanza00commented, Jan 8, 2018

I have the same problem, using also nvm.

I think that the correct command should be nvm use default

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found