Error in npm of Node.js |Cannot find module 'json-parse-Better-errors'

Asked

Viewed 458 times

-1

Getting to the point is this error:

inserir a descrição da imagem aqui

0 info it worked if it ends with ok 1 verbose cli [ 'C: Program Files nodejs Node.exe', 1 verbose cli 'C: Users Acer Appdata Roaming npm node_modules npm bin npm-cli.js', 1 verbose cli 'install', 1 verbose cli 'blerg' ] 2 info using [email protected] 3 info using [email protected] 4 verbose config Skipping project config: C: Users Acer/.npmrc. (Matches userconfig) 5 verbose stack Error: Cannot find module 'json-parse-Better-errors' 5 verbose stack at Function.Module. _resolveFilename (module.js:547:15) 5 verbose stack at Function.Module. _load (module.js:474:25) 5 verbose stack at Module.require (module.js:596:17) 5 verbose stack at require (Internal/module.js:11:18) 5 verbose stack at Object. (C: Users Acer Appdata Roaming npm node_modules npm node_modules read-package-json read-json.js:12:16) 5 verbose stack at Module. _Compile (module.js:652:30) 5 verbose stack at Object.Module. _Extensions.. js (module.js:663:10) 5 verbose stack at Module.load (module.js:565:32) 5 verbose stack at tryModuleLoad (module.js:505:12) 5 verbose stack at Function.Module. _load (module.js:497:3) 5 verbose stack at Module.require (module.js:596:17) 5 verbose stack at require (Internal/module.js:11:18) 5 verbose stack at Object. (C: Users Acer Appdata Roaming npm node_modules npm node_modules read-package-Tree rpt.js:2:11) 5 verbose stack at Module. _Compile (module.js:652:30) 5 verbose stack at Object.Module. _Extensions.. js (module.js:663:10) 5 verbose stack at Module.load (module.js:565:32) 6 verbose cwd C: Users Acer 7 verbose Windows_nt 10.0.16299 8 verbose argv "C: Program Files 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 Cannot find module 'json-parse-Better-errors' 13 verbose Exit [ 1, true ]

  • 1

    npm is installed? Use npm --version

  • And to get back to the point, what are you trying to do? Pass the relevant information to the question here, don’t use external links.

1 answer

0

Solved. Everything was in perfect condition in my view. Then I tested download the . zip instead of the .msi. And its very right! I don’t know why this happened. But if someone goes through the same error, just download . zip that might work!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.