ionic-cli icon indicating copy to clipboard operation
ionic-cli copied to clipboard

I got error while install ionic. How can I solve that issue.

Open Anbarasan-321 opened this issue 9 years ago • 6 comments

C:>npm install -g ionic cordova npm WARN deprecated [email protected]: Use uuid module instead C:\Users\123\AppData\Roaming\npm\cordova -> C:\Users\123\AppData\Roaming\npm\node_ modules\cordova\bin\cordova C:\Users\123\AppData\Roaming\npm\ionic -> C:\Users\123\AppData\Roaming\npm\node_mo dules\ionic\bin\ionic npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\ion ic\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":"ia32" })

Anbarasan-321 avatar Nov 16 '17 09:11 Anbarasan-321

Hi Anbarasan, Kindly let us know your ionic info or update your node package

Vicky443 avatar Nov 16 '17 15:11 Vicky443

@Anbarasan-321 There are no errors here, just warnings. These are the packages installed:

[email protected]
[email protected]
added 116 packages and updated 2 packages in 121.66s

imhoffd avatar Nov 16 '17 17:11 imhoffd

How to fix this problem??? help mee

C:\Users\dhina>npm install -g cordova npm WARN deprecated [email protected]: Use uuid module instead npm ERR! path C:\Users\dhina\AppData\Roaming\npm\node_modules\cordova\node_modules\npm\node_modules\ansistyles npm ERR! code ENOENT npm ERR! errno -4058 npm ERR! syscall rename npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Users\dhina\AppData\Roaming\npm\node_modules\cordova\node_modules\npm\node_modules\ansistyles' -> 'C:\Users\dhina\AppData\Roaming\npm\node_modules\cordova\node_modules\npm\node_modules.ansistyles.DELETE' 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! C:\Users\dhina\AppData\Roaming\npm-cache_logs\2017-12-15T12_46_06_571Z-debug.log

dhinakaranape avatar Dec 15 '17 13:12 dhinakaranape

@dhinakaranape Looks like you may have cordova installed already. Try npm uninstall -g cordova and installing again.

imhoffd avatar Dec 16 '17 23:12 imhoffd

I solved it downgrading npm: npm install -g [email protected]

costa974 avatar Dec 18 '17 15:12 costa974

@costa974 yeay thats work. thank you

masyoudi avatar Feb 07 '18 02:02 masyoudi