Error in npm of node.js | Can not find module 'json-parse-better-errors'

-1

Going straight to the point is this error:

  

0infoitworkedifitendswithok  1verbosecli['C:\ProgramFiles\nodejs\node.exe',  1verbosecli'C:\Users\Acer\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js',  1verbosecli'install',  1verbosecli'blerg']  [email protected]  [email protected]  4verboseconfigSkippingprojectconfig:C:\Users\Acer/.npmrc.(matchesuserconfig)  5verbosestackError:Cannotfindmodule'json-parse-better-errors'  5verbosestackatFunction.Module._resolveFilename(module.js:547:15)  5verbosestackatFunction.Module._load(module.js:474:25)  5verbosestackatModule.require(module.js:596:17)  5verbosestackatrequire(internal/module.js:11:18)  5verbosestackatObject.(C:\Users\Acer\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:12:16)  5verbosestackatModule._compile(module.js:652:30)  5verbosestackatObject.Module._extensions..js(module.js:663:10)  5verbosestackatModule.load(module.js:565:32)  5verbosestackattryModuleLoad(module.js:505:12)  5verbosestackatFunction.Module._load(module.js:497:3)  5verbosestackatModule.require(module.js:596:17)  5verbosestackatrequire(internal/module.js:11:18)  5verbosestackatObject.C:\Users\Acer\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-tree\rpt.js:2:11)  5verbosestackatModule._compile(module.js:652:30)  5verbosestackatObject.Module._extensions..js(module.js:663:10)  5verbosestackatModule.load(module.js:565:32)  6verbosecwdC:\Users\Acer  7verboseWindows_NT10.0.16299  C:\ProgramFiles\nodejs\node.exe"C: \ Users \ Acer \ AppData \ Roaming \ npm \ node_modules \ npm \ bin \ npm-cli.js" "install" "blergg"   9 verbose node v8.11.2   10 verbose npm v5.6.0   11 error code MODULE_NOT_FOUND   12 error Can not find module 'json-parse-better-errors'   13 verbose exit [1, true]

    
asked by anonymous 22.05.2018 / 01:47

1 answer

0

Solved. Everything was in perfect condition in my view. Then I tried to download the .zip instead of .msi. And its very right! I do not know why this happened. But if someone goes through the same error, just download the .zip that maybe works!

    
27.05.2018 / 00:55