Sarah31
Sarah31

Reputation: 5

Error in creating ionic app

I get this error while creating an ionic blank app. Please help me to solve this.

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

Here's a screenshot of the error message

Upvotes: 1

Views: 54

Answers (1)

Ranadip Dutta
Ranadip Dutta

Reputation: 9133

Update your ionic version.

Try updating Node to higher version.

Uninstalled node, npm, nvm, ionic, and cordova.

Then, Reinstall nvm, and use it to reinstall node/npm. Reinstall other components.

Upvotes: 1

Related Questions