sduser1
asked on
Error on npm install
Installed node version: v10.16.2
npm version: 6.10.3
When i run the command 'npm install -g'
Got the below error.
npm ERR! code ENOENT
npm ERR! syscall rename
npm ERR! path /Users/sdatla/build_tools/ node-v10.1 6.2-darwin -x64-npm-5 .6.0/lib/n ode_module s/.staging /Newton-7c 7da797/nod e_modules/ @babel/cod e-frame
npm ERR! dest /Users/sdatla/build_tools/ node-v10.1 6.2-darwin -x64-npm-5 .6.0/lib/n ode_module s/.staging /@babel/co de-frame-b bf22dc8
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, rename '/Users/sdatla/build_tools /node-v10. 16.2-darwi n-x64-npm- 5.6.0/lib/ node_modul es/.stagin g/Newton-7 c7da797/no de_modules /@babel/co de-frame' -> '/Users/sdatla/build_tools /node-v10. 16.2-darwi n-x64-npm- 5.6.0/lib/ node_modul es/.stagin g/@babel/c ode-frame- bbf22dc8'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/sdatla/.npm/_logs/2 019-08-19T 14_43_17_8 71Z-debug. log
Please help
npm version: 6.10.3
When i run the command 'npm install -g'
Got the below error.
npm ERR! code ENOENT
npm ERR! syscall rename
npm ERR! path /Users/sdatla/build_tools/
npm ERR! dest /Users/sdatla/build_tools/
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, rename '/Users/sdatla/build_tools
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/sdatla/.npm/_logs/2
Please help
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.