Here what happened updating a working project to the latest framework.
I also tried to change to ionic-angular, but didn’t went better.
There is no more the file ionic.d.ts, and this broke everything …
✗ app\theme\app.ios.scss
Error: File to import not found or unreadable: ionic.ios
Parent style sheet: stdin
on line 19 of stdin
>> @import "ionic.ios";
^
√ Sass compilation complete
./app/app.js
Module not found: Error: Cannot resolve module 'ionic-framework/ionic' in C:\Temp\js\FirstAid\FirstAid\app
resolve module ionic-framework/ionic in C:\Temp\js\FirstAid\FirstAid\app
looking for modules in app
app/ionic-framework doesn't exist (module as directory)
looking for modules in C:\Temp\js\FirstAid\FirstAid\node_modules
C:\Temp\js\FirstAid\FirstAid\node_modules\ionic-framework doesn't exist (module as directory)
[app/ionic-framework]
[C:\Temp\js\FirstAid\FirstAid\node_modules\ionic-framework]
@ ./app/app.js 10:14-46,./app/pages/getting-started/getting-started.js
Module not found: Error: Cannot resolve module 'ionic-framework/ionic' in C:\Temp\js\FirstAid\FirstAid\app\pages\getting-started
resolve module ionic-framework/ionic in C:\Temp\js\FirstAid\FirstAid\app\pages\getting-started
looking for modules in app
app/ionic-framework doesn't exist (module as directory)
looking for modules in C:\Temp\js\FirstAid\FirstAid\node_modules
C:\Temp\js\FirstAid\FirstAid\node_modules\ionic-framework doesn't exist (module as directory)
[app/ionic-framework]
[C:\Temp\js\FirstAid\FirstAid\node_modules\ionic-framework]
@ ./app/pages/getting-started/getting-started.js 10:14-46,./app/pages/list/list.js
Module not found: Error: Cannot resolve module 'ionic-framework/ionic' in C:\Temp\js\FirstAid\FirstAid\app\pages\list
resolve module ionic-framework/ionic in C:\Temp\js\FirstAid\FirstAid\app\pages\list
looking for modules in app
app/ionic-framework doesn't exist (module as directory)
looking for modules in C:\Temp\js\FirstAid\FirstAid\node_modules
C:\Temp\js\FirstAid\FirstAid\node_modules\ionic-framework doesn't exist (module as directory)
[app/ionic-framework]
[C:\Temp\js\FirstAid\FirstAid\node_modules\ionic-framework]
@ ./app/pages/list/list.js 10:14-46,./app/pages/grid/grid.js
Module not found: Error: Cannot resolve module 'ionic-framework/ionic' in C:\Temp\js\FirstAid\FirstAid\app\pages\grid
resolve module ionic-framework/ionic in C:\Temp\js\FirstAid\FirstAid\app\pages\grid
looking for modules in app
app/ionic-framework doesn't exist (module as directory)
looking for modules in C:\Temp\js\FirstAid\FirstAid\node_modules
C:\Temp\js\FirstAid\FirstAid\node_modules\ionic-framework doesn't exist (module as directory)
[app/ionic-framework]
[C:\Temp\js\FirstAid\FirstAid\node_modules\ionic-framework]
@ ./app/pages/grid/grid.js 10:14-46,./app/pages/tree-node/tree-node.js
Module not found: Error: Cannot resolve module 'ionic-framework/ionic' in C:\Temp\js\FirstAid\FirstAid\app\pages\tree-node
resolve module ionic-framework/ionic in C:\Temp\js\FirstAid\FirstAid\app\pages\tree-node
looking for modules in app
app/ionic-framework doesn't exist (module as directory)
looking for modules in C:\Temp\js\FirstAid\FirstAid\node_modules
C:\Temp\js\FirstAid\FirstAid\node_modules\ionic-framework doesn't exist (module as directory)
[app/ionic-framework]
[C:\Temp\js\FirstAid\FirstAid\node_modules\ionic-framework]
@ ./app/pages/tree-node/tree-node.js 10:14-46 (CLI v2.0.0-beta.19)
Please just tell me how long should we wait before a reasonably stable version … it’s at least the fourth time we build the project from scratch and is terribly annoying and useless.
Yes, this is because I tried to migrate the ionic-framework to ionic-angular because of the (same) problem.
From the link you posted me, there is no clear upgrade-path to the latest tools/framework.
So I tried to create a new project from scratch following the ionic2-app-base instructions (using related latest versions).
I could create a (typescript based) project and it works, but as soon as i switch to “es6” in order to use the typescript Promise object, it screws everything again.
I created a brand new project with the ionic2-app-base instructions, adding --ts in order to use Typescript.
Then I just switched to ES6.
This is the build log (Visual Studio Cordova Update 7 Taco Tools):