Hello Team,
First of all thanks for all your efforts for making to this milestone, with Ionic 2.0 our life have been easy.
Actually, after RC below are some issues I am facing
-
After I update ionic still Ionic CLI showing beta version. After that I clear cache and uninstall still after that I am not able to work on it. After further debugging if I use /usrbin/ionic it works fine but not ionic alone.
-
After this I use this command /usr/bin/ionic start helpionic2 --v2 to start new project. After running this project this /usr/bin/ionic serve I got below error
[19:02:50] src/app/app.component.ts(1,27): error TS2307: Cannot find module ‘@angular/core’.
[19:02:50] src/app/app.module.ts(1,26): error TS2307: Cannot find module ‘@angular/core’.
[19:02:50] src/app/main.dev.ts(1,40): error TS2307: Cannot find module ‘@angular/platform-browser-dynamic’.
src/pages/about/about.ts(1,27): error TS2307: Cannot find module ‘@angular/core’.
src/pages/contact/contact.ts(1,27): error TS2307: Cannot find module ‘@angular/core’.
src/pages/home/home.ts(1,27): error TS2307: Cannot find module ‘@angular/core’.
src/pages/tabs/tabs.ts(1,27): error TS2307: Cannot find module ‘@angular/core’.
[19:02:50] typescript compiler ready in 2.96 s
[19:02:50] bundle dev started …
[19:02:51] Error: Could not resolve ‘@angular/platform-browser-dynamic’ from /home/gaurav/projects/ionic/helpionic2/.tmp/app/main.dev.js
at Error (native)
at /home/gaurav/projects/ionic/helpionic2/node_modules/@ionic/app-scripts/node_modules/rollup-plugin-node-resolve/dist/rollup-plugin-node-resolve.cjs.js:78:21
at /home/gaurav/projects/ionic/helpionic2/node_modules/@ionic/app-scripts/node_modules/rollup-plugin-node-resolve/node_modules/browser-resolve/index.js:265:24
at /home/gaurav/projects/ionic/helpionic2/node_modules/@ionic/app-scripts/node_modules/rollup-plugin-node-resolve/node_modules/resolve/lib/async.js:46:14
at process (/home/gaurav/projects/ionic/helpionic2/node_modules/@ionic/app-scripts/node_modules/rollup-plugin-node-resolve/node_modules/resolve/lib/async.js:173:43)
at ondir (/home/gaurav/projects/ionic/helpionic2/node_modules/@ionic/app-scripts/node_modules/rollup-plugin-node-resolve/node_modules/resolve/lib/async.js:188:17)
at load (/home/gaurav/projects/ionic/helpionic2/node_modules/@ionic/app-scripts/node_modules/rollup-plugin-node-resolve/node_modules/resolve/lib/async.js:69:43)
at onex (/home/gaurav/projects/ionic/helpionic2/node_modules/@ionic/app-scripts/node_modules/rollup-plugin-node-resolve/node_modules/resolve/lib/async.js:92:31)
at /home/gaurav/projects/ionic/helpionic2/node_modules/@ionic/app-scripts/node_modules/rollup-plugin-node-resolve/node_modules/resolve/lib/async.js:22:47
at FSReqWrap.oncomplete (fs.js:82:15)
After this I manually installed npm install @angular/core @angular/platform-browser-dynamic
Still after this I am got the below error in browser.
Uncaught Error: Can't resolve all parameters for provideLocationStrategy: (PlatformLocation, ?, Config).
Your system information:
Cordova CLI: 6.1.1
Gulp version: CLI version 1.2.1
Gulp local: Local version 3.9.1
Ionic Framework Version: 2.0.0-rc.0
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
OS: Distributor ID: Ubuntu Description: Ubuntu 16.04.1 LTS
Node Version: v4.0.0
I really appreciate any help for this as soon possible its breaking my project which I am working from 1 month.
Thanks
Gaurav