Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught (in promise): TypeError: _this.weatherProvider.getWeather is not a function #3

Open
diakogiannis opened this issue Mar 9, 2018 · 1 comment

Comments

@diakogiannis
Copy link

Error: Uncaught (in promise): TypeError: _this.weatherProvider.getWeather is not a function
TypeError: _this.weatherProvider.getWeather is not a function
at http://localhost:8100/build/main.js:195:35
at t.invoke (http://localhost:8100/build/polyfills.js:3:14976)
at Object.onInvoke (http://localhost:8100/build/vendor.js:4982:33)
at t.invoke (http://localhost:8100/build/polyfills.js:3:14916)
at r.run (http://localhost:8100/build/polyfills.js:3:10143)
at http://localhost:8100/build/polyfills.js:3:20242
at t.invokeTask (http://localhost:8100/build/polyfills.js:3:15660)
at Object.onInvokeTask (http://localhost:8100/build/vendor.js:4973:33)
at t.invokeTask (http://localhost:8100/build/polyfills.js:3:15581)
at r.runTask (http://localhost:8100/build/polyfills.js:3:10834)
at c (http://localhost:8100/build/polyfills.js:3:19752)
at http://localhost:8100/build/polyfills.js:3:20273
at t.invokeTask (http://localhost:8100/build/polyfills.js:3:15660)
at Object.onInvokeTask (http://localhost:8100/build/vendor.js:4973:33)
at t.invokeTask (http://localhost:8100/build/polyfills.js:3:15581)
at r.runTask (http://localhost:8100/build/polyfills.js:3:10834)
at o (http://localhost:8100/build/polyfills.js:3:7894)
at e.invokeTask [as invoke] (http://localhost:8100/build/polyfills.js:3:16823)
at p (http://localhost:8100/build/polyfills.js:2:27648)
at IDBRequest.v (http://localhost:8100/build/polyfills.js:2:27893)
Ionic Framework: 3.9.2
Ionic App Scripts: 3.1.8
Angular Core: 5.0.3
Angular Compiler CLI: 5.0.3
Node: 6.11.1
OS Platform: Windows 10
Navigator Platform: Win32
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.

@diakogiannis
Copy link
Author

diakogiannis commented Mar 9, 2018

I think the issue is that ionic now generates package json with angular 5

"dependencies": {
   "@angular/common": "5.0.3",
   "@angular/compiler": "5.0.3",
   "@angular/compiler-cli": "5.0.3",
   "@angular/core": "5.0.3",
   "@angular/forms": "5.0.3",
   "@angular/http": "5.0.3",
   "@angular/platform-browser": "5.0.3",
   "@angular/platform-browser-dynamic": "5.0.3",
   "@ionic-native/core": "4.4.0",
   "@ionic-native/splash-screen": "4.4.0",
   "@ionic-native/status-bar": "4.4.0",
   "@ionic/storage": "2.1.3",
   "ionic-angular": "3.9.2",
   "ionicons": "3.0.0",
   "rxjs": "5.5.2",
   "sw-toolbox": "3.6.0",
   "zone.js": "0.8.18"
 },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant