To update my project, I performed the config changes listed on this commit, then executed:
$ typings install
$ npm install
and voilá
To update my project, I performed the config changes listed on this commit, then executed:
$ typings install
$ npm install
and voilá
Since this afternoon I am having this error and I could not fix it, since very recently, about 2 hours ago
I’m reading, but can not find the solution, i tried , but not solved
PS : I am a spanish speaker, apologize for my grammatical errors
Look in your packages.json
file and change the version of ionic-gulp-browserify-typescript
to ^2.0.0
Then run npm install
to re install your node packages, this time with a different version of ionic-gulp-browserify-typescript
, and run typings install
and you ‘should’ get it to work.
This thread helped me to resolve all issues with upgrading beta.6 -> beta.9 http://stackoverflow.com/questions/37361708/importing-angular2-http-in-ionic-2-has-error-cannot-find-module
Remember to change all obsolete imports like angular2/xxx to @angular/xxx!
Thank you for your help Guys!
But in my case after follow the steps @matheo commented, I am still getting the error:
Uncaught Invalid provider - only instances of Provider and Type are allowed, got: [object Object] reflective_provider.js:163
Any help?,
Thank you again.
The error message is telling you exactly what is wrong. Something in your custom providers array is broken.
Thats the case…its empty:
ionicBootstrap(MyApp);
Any component can have a providers array. Have you checked them all?
No, you’re right.
Not all of them!
Thank you!