Thursday, 13 April 2017

Error install Ionic cordova in MacOS Sierra 10.12.3

I install Ionic Cordova with this command line in macOS sierra 10.12.3:

sudo npm install -g cordova ionic --unsafe-perm quickscrape

And I see this error:

npm ERR! Darwin 16.4.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "cordova" "ionic" "--unsafe-perm" "quickscrape"

npm ERR! node v6.10.2

npm ERR! npm v3.10.10

npm ERR! path /usr/local/lib/node_modules/.staging/abbrev-ef9cc920

npm ERR! code ENOENT

npm ERR! errno -2

npm ERR! syscall rename

npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/abbrev-ef9cc920' -> '/usr/local/lib/node_modules/cordova/node_modules/npm/node_modules/abbrev'

npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/abbrev-ef9cc920' -> '/usr/local/lib/node_modules/cordova/node_modules/npm/node_modules/abbrev'

npm ERR! enoent This is most likely not a problem with npm itself

npm ERR! enoent and is related to npm not being able to find a file.

npm ERR! enoent

npm ERR! Please include the following file with any support request:

npm ERR! /Users/it/npm-debug.log

How do can i fix this problem and install this?!



via NewCod3r

No comments:

Post a Comment