0

I am trying to make ionic2 app. But npm is not supporting. It always gives me this error.enter image description here

Momin IqbalAhmed
  • 950
  • 6
  • 13

3 Answers3

0

Try to install previous version of npm:

npm install npm@5.2 -g

Unfortunatelly, current version(5.3) has a lot of bugs.

Lazyexpert
  • 3,106
  • 1
  • 19
  • 33
0

I found solution of it. Solution is uninstall node and npm completely from your PC and then re-install it. to uninstall node and npm completely check this link. How to completely remove node.js from Windows

Momin IqbalAhmed
  • 950
  • 6
  • 13
0

This worked for me:

npm install -g --only=production --save har-schema
Ulysses
  • 5,616
  • 7
  • 48
  • 84