Closed schalkneethling closed 7 years ago
What version of npm did you install it with?
In both cases it seems like it could be an npm bug (of which there are many). Try doing this in each Node version:
npm uninstall -g jpm
Upgrade npm, then run:
npm install -g jpm
It works with version 6.9.4 but, anything 7+ throws the error from above. I did do the uninstall and reinstall as well but, with version 7+ it does not work.
Most likely wrong installations.
$ node --version && npm --version && jpm --version
v7.4.0
4.0.5
1.2.2
@schalkneethling It would be helpful if you post the log of npm install -g jpm
@yan12125 At this point it is working so, I am going to close this and will reopen with more info should I run into the problem again.
To be honest, it might have something to do with updating node via npm g
I have now switched to nvm
and so far, so good. Thanks!
@schalkneethling thanks for the bug report! Sorry about the hassle.
When running jpm with Node 7+, jpm breaks with the following error:
When running against 6.9.4, jpm works but, the following warning is output in the terminal:
(node:36785) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.