Basit
Basit

Reputation: 17214

Ionic2 upgrade - Uncaught Error: Cannot find module

After upgrading to beta.2. My application does not run anymore. I get following error in browser

Uncaught Error: Cannot find module "..../project/app/app"

Upvotes: 1

Views: 3152

Answers (1)

matitalatina
matitalatina

Reputation: 211

I just solved with: npm install -g ionic@beta

Remember, there are some breaking changes: The most important is ionic module change name: from ionic-framework/ionic to ionic-angular. Change it in all your .ts files, change it also in ionic.config.js file in order to fetch correctly sass files.

Upvotes: 5

Related Questions