Ionic2升级 - 未捕获错误:找不到模块

时间:2016-03-03 15:23:36

标签: ionic-framework ionic2

升级到beta.2。我的应用程序不再运行了。我在浏览器中遇到以下错误

  

未捕获错误:找不到模块“.... / project / app / app”

1 个答案:

答案 0 :(得分:5)

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.