Error: Cannot find module 'debug' on new project


I’ve installed ionic and I am trying to create a new project using

ionic start myApp tabs

And I keep getting the message: Error: Cannot find module ‘debug’

Can anyone suggest where to start to fix this?


You can try to remove node modules and npm install -g

1 Like

Thanks @kocei.

I uninstalled and reinstalled ionic and cordova and it seems to be working now.