Cannot install ionic in mac

Hi I am trying to install ionic I am getting an error. Please see error message below.

404 error Error: No compatible version found: q@’^1.0.1’
404 error Valid install targets:
404 error [“0.0.0”,“0.0.1”,“0.0.2”,“0.0.3”,“0.1.0”,“0.1.1”,“0.1.2”,“0.1.3”,“0.1.4”,“0.1.5”,“0.1.6”,“0.1.7”,“0.1.8”,“0.1.9”,“0.2.0-rc1”,“0.2.0”,“0.2.1”,“0.2.2”,“0.2.3”,“0.2.4”,“0.2.5”,“0.2.6”,“0.2.7”,“0.2.8”,“0.2.9”,“0.3.0”,“0.2.10”,“0.4.0”,“0.4.1”,“0.4.2”,“0.4.4”,“0.5.0”,“0.5.1”,“0.5.2”,“0.5.3”,“0.6.0”,“0.7.0”,“0.7.1”,“0.7.2”,“0.8.0”,“0.8.1”,“0.8.2”,“0.8.3”,“0.8.4”,“0.8.5”,“0.8.6”,“0.8.7”,“0.8.8”,“0.8.9”,“0.8.10”,“0.8.11”,“0.8.12”,“0.9.0”,“0.9.1”,“0.9.2”,“0.9.3”,“0.9.4”,“0.9.5”,“0.9.6”,“0.9.7”,“1.0.0”,“1.0.1”,“2.0.0”,“2.0.1”]
404 error at installTargetsError (/usr/local/lib/node_modules/npm/lib/cache.js:719:10)
404 error at /usr/local/lib/node_modules/npm/lib/cache.js:638:10
404 error at saved (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:142:7)
404 error at /usr/local/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:133:7
404 error at Object.oncomplete (fs.js:107:15)
405 error If you need help, you may report this log at:
405 error
405 error or email it to:
405 error
406 error System Darwin 13.1.0
407 error command “node” “/usr/local/bin/npm” “install” “-g” "ionic"
408 error cwd /Users/asarkar/project/web/ionic
409 error node -v v0.10.15
410 error npm -v 1.3.5
411 verbose exit [ 1, true ]

Can you update node and npm? Are you behind a proxy?

@arup What command you used?

Please run the npm with sudo command, example

$ sudo npm install -g ionic

and maybe you have proxy activated, please check your connection setings :smiley:


After I updated Node in my mac, I was able to carry on with ionic demos. Please mark this as resolved.