Getting error after update ionic 2


#1

any idea ?


#2

hi jhon,

I don’t know this module.
But often with new version of ionic it’s better to create a new project “ionic start --v2 myApp” and copy in it your src.
That I can tell you it’s you don’t have the latest :

  • Cordova cli
  • Ionic cli version

I think you have to do :
npm uninstall -g ionic cordova
npm install -g ionic cordova

this a post with a similar problem, I think.
https://forum.ionicframework.com/t/error-cannot-find-module-inherits/63582


#3

Hi Thierrysco

Thanks for your information.
I have uninstalled the cordova and ionic and reinstalled it.
After that it asked for JDK 1.8 then installed jdk1.8 now everything working fine.