0

When I try to run the command npm install -g cordova ionic, it gets stuck for hours.

enter image description here

dariru
  • 501
  • 6
  • 16
Roy
  • 45
  • 6

2 Answers2

0

Follow the below step for proceeding further

  • Clean the npm cache
  • Update npm and node version
  • reinstalling npm and node

I found that changing my Environment Variable TEMP to = C:\tmp worked. use this tutorial https://docs.npmjs.com/cli/cache

Nimantha
  • 6,405
  • 6
  • 28
  • 69
Pushpendra
  • 1,492
  • 1
  • 17
  • 33
0

I also faced the same problem .So, somewhere I found the below command which worked for me. npm install -g ionic cordova

PRIYA PARASHAR
  • 777
  • 4
  • 15