Error on installing Ionic


#1

Microsoft Windows [Version 6.3.9600]
© 2013 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>install npm -g ionic
’install’ is not recognized as an internal or external command,
operable program or batch file.

C:\WINDOWS\system32>npm install -g ionic
’CALL “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules
\npm\bin\npm-cli.js” prefix -g’ is not recognized as an internal or external com
mand,
operable program or batch file.
C:\Users\Double Edge\AppData\Roaming\npm\ionic -> C:\Users\Double Edge\AppData\R
oaming\npm\node_modules\ionic\bin\ionic

node-sass@3.4.2 install C:\Users\Double Edge\AppData\Roaming\npm\node_modules
ionic\node_modules\node-sass
node scripts/install.js

npm ERR! Windows_NT 6.3.9600
npm ERR! argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\
node_modules\npm\bin\npm-cli.js” “install” “-g” "ionic"
npm ERR! node v4.3.0
npm ERR! npm v2.14.12
npm ERR! file C:\WINDOWS\system32\cmd.exe;C:\wamp\bin\php\php5.5.12;C:\wamp\bin
apache\apache2.4.9;C:\wamp\www\medicaldoctors\app\Console
npm ERR! path C:\WINDOWS\system32\cmd.exe;C:\wamp\bin\php\php5.5.12;C:\wamp\bin
apache\apache2.4.9;C:\wamp\www\medicaldoctors\app\Console
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn C:\WINDOWS\system32\cmd.exe;C:\wamp\bin\php\php5.5.12;C:
wamp\bin\apache\apache2.4.9;C:\wamp\www\medicaldoctors\app\Console

npm ERR! node-sass@3.4.2 install: node scripts/install.js
npm ERR! spawn C:\WINDOWS\system32\cmd.exe;C:\wamp\bin\php\php5.5.12;C:\wamp\bin
\apache\apache2.4.9;C:\wamp\www\medicaldoctors\app\Console ENOENT
npm ERR!
npm ERR! Failed at the node-sass@3.4.2 install script ‘node scripts/install.js’.

npm ERR! This is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/install.js
npm ERR! You can get their info via:
npm ERR! npm owner ls node-sass
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! C:\WINDOWS\system32\npm-debug.log

C:\WINDOWS\system32>

Please how can i get rid of this error and install ionic .


#2

have you installed node???


#3

Yes , I have, but I dont know why it is still not working, I have been batteling with this for over a week now


#4

It’s strange. be sure you have node address in your system PATH as android and npm.

try to try all step of this http://ionicframework.com/docs/guide/installation.html