Failing to build with ionic 3.0 CLI


#1

Installing ionic to C:\user\AppData\Roaming\taco_home\node_modules\ionic\3.0.0. (This may take a few minutes.)
Command failed: npm install --force ionic 2>&1
Task failed

Tried uninstalling and reinstalling cordova / ionic but does not help. Any idea how to fix this error.
global packages:
@ionic/cli-utils : 1.0.0
Ionic CLI : 3.0.0
Cordova : 7.0.1
System:
Node : v6.10.3
OS : Windows 8.1
Xcode : not installed
ios-deploy : not installed
ios-sim : not installed

Where to look for detailed log to understand why this error is happening


#2

The output you post is from Ionic CLI v3 - how can you post this if the installation failed?

What command exactly where you executing when you got this error?
What does npm list -g --depth=0 return?
What does ionic return?


#3

Cordova & Ionic installation succeeded. After that I was trying to execute ionic info command.

C:>npm list -g --depth=0
C:\Users\waghmdhe\AppData\Roaming\npm
±- cordova@7.0.1
`-- ionic@3.0.0

I am stuck and not able to do anything. Your help is appropriated.


#4

What is strange is that npm is missing from that list. Here is my output:

PS C:\Users\Jan\Documents\Tenlan> npm list -g --depth=0
C:\Program Files\nodejs
+-- cordova@7.0.1
+-- ionic@3.0.0
`-- npm@3.10.10

What is your node and npm version?


#5

One vote for nuking the node installation from orbit and installing nvm-windows.


#6

Which is awesome, by the way @dheerajsw