This article is a mirror article of machine translation, please click here to jump to the original article.

View: 11163|Reply: 0

[ionic] Install ionic and cordova tutorials

[Copy link]
Posted on 6/19/2018 2:32:02 PM | | | |
Install ionic and cordova with npm commands, and the version installed on my system is as follows:

C:\Users\itsvse_pc>node -v
v8.9.2

C:\Users\itsvse_pc>npm -v
5.5.1

Execute the global install command:

The error is as follows:


C:\project\android>npm install -g cordova ionic
npm WARN optional SKIPPING OPTIONAL DEPENDENCY:http-proxy@1.17.0(node_modules\ionic\node_modules\http-proxy):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sha1-etOElGWPhGBeL220Q230EPTlvpo= integrity checksum failed when using sha1: wanted sha1-etOElGWPhGBeL220Q230EPTlvpo= but got sha1-G3UWe5THYGtOLgjlnewiclme0vY=. (41520 bytes)

npm ERR! code EINTEGRITY
npm ERR! sha1-cPt8oCkO5v+WEJBBX0s989IIJlk= integrity checksum failed when using sha1: wanted sha1-cPt8oCkO5v+WEJBBX0s989IIJlk= but got sha1-AQ1TDqKQCDcuT5Rv0/lXKf6Nhzo=. (15985 bytes)

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\itsvse_pc\AppData\Roaming\npm-cache\_logs\2018-06-19T05_59_01_067Z-debug.log


Solution:


Then try reinstalling it again!



Check if the installation is successful
If you want to see the storage path of the npm global installation package, you can run npm list -g




Previous:Tutorial for downloading and installing the Android SDK for the first time
Next:Ionic Android App Development (1): A Beginner's Guide
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com