I am trying to make ionic2 app. But npm is not supporting. It always gives me this error.
Asked
Active
Viewed 824 times
0
-
What do you mean by "But npm is not supporting"? – Ram Aug 31 '17 at 11:23
-
@ram npm gives error "Cannot find module 'har-schema' ". you can check above image. – Momin IqbalAhmed Aug 31 '17 at 11:48
3 Answers
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
-
-
-
-
-
@WebTesting what do you mean, that you have the same issue? You still try to install version 5.3? – Lazyexpert Aug 31 '17 at 11:56
-
no, I am not tryin to install npm 5.3 I am facing same issue "Cannot find module 'har-schema' ". whenever I try to update version of npm. Right now I am unable to update version of npm. – Momin IqbalAhmed Aug 31 '17 at 12:03
-
I have tried to uninstalling and re-installing node and npm. But it didn't worked. Still i was facing Cannot find module 'har-schema' error. – Momin IqbalAhmed Aug 31 '17 at 12:04
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