Answer the question
In order to leave comments, you need to log in
npm not working, how to fix?
Hello everyone, there was a need to install Cordova on a computer
Installation is done via npm, but now it does not work
Version npm - 6.9.0
Version node - 10.16.0
C:\Users\vital>npm install -g cordova
npm ERR! Cannot read property 'resolve' of undefined
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\vital\AppData\Roaming\npm-cache\_logs\2019-07-06T09_50_10_907Z-debug.log
Answer the question
In order to leave comments, you need to log in
In short, gentlemen)
I don’t know what was the reason, it seems to me that it’s npm after all. I
took the entire nodejs folder along with modules from another computer where npm works
. And it worked for me.
Thank you all for your help!)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question