Creation of new application problem


#1

Hello everyone

i am facing a problem with creation a new ionic application

after i write this command:

ionic start projectname blank

it starts then to download the template that i choose

then after he starts to do the command “install npm” it gives me this error:

[ERROR] An error occurred while running npm install (exit code 1):

        npm ERR! Windows_NT 10.0.14393
        npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program
        Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
        npm ERR! node v6.11.0
        npm ERR! npm  v3.10.10

        npm ERR! shasum check failed for
        C:\Users\USER~1\AppData\Local\Temp\npm-13732-25d98258\registry.npmjs.org\_40angular\compiler\-\compiler-4.1.3.tgz
        npm ERR! Expected: d2dd30853b0cf4a54758b4a314632c231f9c94c3
        npm ERR! Actual:   02ba4c119f755a010438a6db7bd719ef4240996f
        npm ERR! From:     https://registry.npmjs.org/@angular/compiler/-/compiler-4.1.3.tgz
        npm ERR!
        npm ERR! If you need help, you may report this error at:
        npm ERR!     <https://github.com/npm/npm/issues>

        npm ERR! Please include the following file with any support request:
        npm ERR!     C:\Users\user\Desktop\ionic 2\test3\npm-debug.log

What should i do :pensive:, i really really feel sad about that ,… since i try all options that come to my mind like uninstall node js and ionic and cordova and reinstall them again and that problem still happening…

By the way : this is my ionic info :

`
global packages:

@ionic/cli-utils : 1.4.0
Ionic CLI        : 3.4.0

System:

Node       : v6.11.0
OS         : Windows 10
Xcode      : not installed
ios-deploy : not installed
ios-sim    : not installed
npm        : 3.10.10

`


#2

Best guess: Try disabling your Antivirus for the time of the installation.
Are you behind something that is messing with downloads, proxy or firewall?
Try another internet connection like your mobile phone’s hotspot.


#3

Your guess is fully right … Thank you so so so so much for help, appreciate that :slight_smile:

The problem solved


#4

Now I’m intrigued: Which one was it?


#5

The internet connection, i change it … then it worked for me