I am new to Ionic framework. As a starter I installed cordova using npm as npm install -g cordova
which installed 6.2.0 successfully. I got following error when installing ionic as npm install -g ionic
.
npm: 3.10.5 node: 6.10.2
I also re-installed node, but that dint help me. When I write ionic in cmd i get following error :
I dont know what is the issue with npm or anything else. Any help would be appreciated!
Steps you should do:
npm cache clean
npm set registry https://registry.npmjs.org/
npm set registry http://registry.npmjs.org/
npm install -g ionic
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.