Hi,
I need some help, previously start a new project is easy:
ionic start myApp --v2
but now with the following error:
Installing npm packages (may take a minute or two)…
Error with start undefined
Error Initializing app: There was an error with the spawned command: npminstall
There was an error with the spawned command: npminstall
Somebody help, thanks in advance.
My system information:
Cordova CLI: 6.5.0
Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
ios-deploy version: 1.9.1
ios-sim version: 5.0.13
OS: OS X El Capitan
Node Version: v6.10.2
Xcode version: Xcode 8.2.1 Build version 8C1002
I would advise you to uninstall everything (cordova, Ionic CLI, Node) and install nvm and then reinstall a node version you like, then install Cordova and Ionic in there. Your problem will be solved and you will be using current, supported versions of everything.
After following what @Sujan12’s instruction, I am able to start new ionic project now.
But I got some error when I try to generate a keystore for Android.
Illegal option: RSA
keytool -genkeypair [OPTION]...
Generates a key pair
Obviously it has something to do with the option -keyalg, I can’t find solution at other places.
Does it has something to do with the nvm?
Please help.