Friday 9 March 2018

after installing react and react dom i get npm error

i checked before i had this dir note\node_modules\npm\bin\ after installing somthing it getting removed and i get error trying anything with npm. somebody know how to fix it? check log down hereC:\Users\Klief\Desktop\note>npm install --save react react-dom npm WARN ajv-keywords@3.1.0 requires a peer of ajv@6.0.0 but none is installed. You must install peer dependencies yourself. npm WARN note@1.0.0 No description npm WARN note@1.0.0 No repository field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x6 "})react-dom@16.2.0react@16.2.0 removed 476 packages and updated 2 packages in 23.598sC:\Users\Klief\Desktop\note>npm install --save react react-dom module.js:549 throw err; ^Error: Cannot find module 'C:\Users\Klief\Desktop\note\node_modules\npm\bin\npm-cli.js' at Function.Module._resolveFilename (module.js:547:15) at Function.Module._load (module.js:474:25) at Function.Module.runMain (module.js:693:10) at startup (bootstrap_node.js:188:16) at bootstrap_node.js:609:3 module.js:549 throw err; ^Error: Cannot find module 'C:\Users\Klief\Desktop\note\node_modules\npm\bin\npm-cli.js' at Function.Module._resolveFilename (module.js:547:15) at Function.Module._load (module.js:474:25) at Function.Module.runMain (module.js:693:10) at startup (bootstrap_node.js:188:16) at bootstrap_node.js:609:3

Submitted March 09, 2018 at 03:57PM by kliefados

No comments:

Post a Comment