Hello, iβm just update ionic cordova and npm.
Iβm starting a new project but after a while and I serve the project it return
Runtime Error
No provider for ApplicationInitStatus!
Stack
Error
at g (http://localhost:8100/build/polyfills.js:3:7133)
at injectionError (http://localhost:8100/build/main.js:1511:86)
at noProviderError (http://localhost:8100/build/main.js:1549:12)
at ReflectiveInjector_._throwOrNull (http://localhost:8100/build/main.js:3051:19)
at ReflectiveInjector_._getByKeyDefault (http://localhost:8100/build/main.js:3090:25)
at ReflectiveInjector_._getByKey (http://localhost:8100/build/main.js:3022:25)
at ReflectiveInjector_.get (http://localhost:8100/build/main.js:2891:21)
at AppModuleInjector.NgModuleInjector.get (http://localhost:8100/build/main.js:3856:52)
at http://localhost:8100/build/main.js:5055:70
at _callAndReportToErrorHandler (http://localhost:8100/build/main.js:4956:39)
at http://localhost:8100/build/main.js:5054:20
at t.invoke (http://localhost:8100/build/polyfills.js:3:14529)
at Object.onInvoke (http://localhost:8100/build/main.js:4424:37)
at t.invoke (http://localhost:8100/build/polyfills.js:3:14469)
at n.run (http://localhost:8100/build/polyfills.js:3:9741)
Ionic Framework: 3.0.0
Ionic App Scripts: 1.3.0
Angular Core: 4.0.0
Angular Compiler CLI: 4.0.0
Node: 6.10.2
OS Platform: macOS Sierra
Navigator Platform: MacIntel
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36
So I think the problem is framework 3.0.0.
I make and uninstall and install again like
$ sudo npm uninstall -g ionic
$ sudo npm install -g ionic
but I get the same version. How can I make to go throw framework 2.x and angular 2.x
Many thanks
Editing package.json, dependencies, ionic-angular should work.
(Although I doubt your error is directly caused by Ionic 3β¦)
thanks Sujan12, can you tell me how to?
and why you think this is not a ionic 3 problem? what could it be?
Here is a bit of an (as far as I know unchanged) package.json of an install a few days ago:
"dependencies": {
"@angular/common": "2.4.8",
"@angular/compiler": "2.4.8",
"@angular/compiler-cli": "2.4.8",
"@angular/core": "2.4.8",
"@angular/forms": "2.4.8",
"@angular/http": "2.4.8",
"@angular/platform-browser": "2.4.8",
"@angular/platform-browser-dynamic": "2.4.8",
"@angular/platform-server": "2.4.8",
"@ionic-native/core": "3.1.0",
"@ionic-native/splash-screen": "3.1.0",
"@ionic-native/status-bar": "3.1.0",
"@ionic/cloud-angular": "^0.11.0",
"@ionic/storage": "2.0.0",
"ionic-angular": "2.3.0",
"ionicons": "3.0.0",
"rxjs": "5.0.1",
"sw-toolbox": "3.4.0",
"zone.js": "0.7.2"
},
"devDependencies": {
"@ionic/app-scripts": "1.1.4",
"typescript": "2.0.9"
},
This uses Ionic 2.3.0 and all the connected libraries.
thanks for your answer. You were right, that wasnβt the problem. Iβm still getting this.
Runtime Error
No provider for ApplicationInitStatus!
Stack
Error
at g (http://localhost:8100/build/polyfills.js:3:7133)
at injectionError (http://localhost:8100/build/main.js:1511:86)
at noProviderError (http://localhost:8100/build/main.js:1549:12)
at ReflectiveInjector_._throwOrNull (http://localhost:8100/build/main.js:3051:19)
at ReflectiveInjector_._getByKeyDefault (http://localhost:8100/build/main.js:3090:25)
at ReflectiveInjector_._getByKey (http://localhost:8100/build/main.js:3022:25)
at ReflectiveInjector_.get (http://localhost:8100/build/main.js:2891:21)
at AppModuleInjector.NgModuleInjector.get (http://localhost:8100/build/main.js:3856:52)
at http://localhost:8100/build/main.js:5055:70
at _callAndReportToErrorHandler (http://localhost:8100/build/main.js:4956:39)
at http://localhost:8100/build/main.js:5054:20
at t.invoke (http://localhost:8100/build/polyfills.js:3:14529)
at Object.onInvoke (http://localhost:8100/build/main.js:4424:37)
at t.invoke (http://localhost:8100/build/polyfills.js:3:14469)
at n.run (http://localhost:8100/build/polyfills.js:3:9741)
Ionic Framework: 2.3.0
Ionic App Scripts: 1.3.0
Angular Core: 2.4.8
Angular Compiler CLI: 2.4.8
Node: 6.10.2
OS Platform: macOS Sierra
Navigator Platform: MacIntel
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36
Iβm trying to do this, any clue?
If you completely blow away node_modules, run npm cache clean and then npm i, does everything install without complaining about peer dependency inconsistency? I saw this error briefly once when I had a mishmash hybrid of inconsistent angular and ionic versions.
Thank for your answer
I do this:
$ sudo npm cache clean
$ npm i
And same error appears.
My app.module.ts is like this
import { BrowserModule } from '@angular/platform-browser';
import { NgModule, ErrorHandler } from '@angular/core';
import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
import { MyApp } from './app.component';
import { HomePage } from '../pages/home/home';
import { Geolocation } from '@ionic-native/geolocation';
import { StatusBar } from '@ionic-native/status-bar';
import { SplashScreen } from '@ionic-native/splash-screen';
@NgModule({
declarations: [
MyApp,
HomePage
],
imports: [
IonicModule.forRoot(MyApp)
],
bootstrap: [IonicApp],
entryComponents: [
MyApp,
HomePage
],
providers: [
StatusBar,
SplashScreen,
Geolocation,
{provide: ErrorHandler, useClass: IonicErrorHandler}
]
})
export class AppModule {}
The first step was "completely blow away node_modules", by which I mean βrm -rf node_modulesβ. Did you do that first? And can you confirm that there were no warnings emitted from npm i?
Oh I misunderstood. Sorry
At first the npm ididnβt emit any warning.
Now I make this:
$ rm -rf node_modules
$ sudo npm cache clean
$ npm i
npm ERR! registry error parsing json
npm WARN prefer global node-gyp@3.6.0 should be installed with -g
> fsevents@1.1.1 install /Volumes/.../ionic-new/node_modules/fsevents
> node install
[fsevents] Success: "/Volumes/.../ionic-new/node_modules/fsevents/lib/binding/Release/node-v48-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile
> node-sass@4.5.0 install /Volumes/.../ionic-new/node_modules/node-sass
> node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.5.0/darwin-x64-48_binding.node
Download complete βΈ© β :
Binary saved to /Volumes/.../ionic-new/node_modules/node-sass/vendor/darwin-x64-48/binding.node
Caching binary to /Users/braianmellor/.npm/node-sass/4.5.0/darwin-x64-48_binding.node
> node-sass@4.5.0 postinstall /Volumes/.../ionic-new/node_modules/node-sass
> node scripts/build.js
Binary found at /Volumes/.../ionic-new/node_modules/node-sass/vendor/darwin-x64-48/binding.node
Testing binary
Binary is fine
ionic-hello-world@ /Volumes/.../ionic-new
βββ @angular/common@4.0.0
βββ @angular/compiler@4.0.0
βββ¬ @angular/compiler-cli@4.0.0
β βββ¬ @angular/tsc-wrapped@4.0.0
β β βββ¬ tsickle@0.21.6
β β βββ minimist@1.2.0 deduped
β β βββ mkdirp@0.5.1 deduped
β β βββ source-map@0.5.6 deduped
β β βββ source-map-support@0.4.14 deduped
β βββ minimist@1.2.0
β βββ reflect-metadata@0.1.10
βββ @angular/core@4.0.0
βββ @angular/forms@4.0.0
βββ @angular/http@4.0.0
βββ @angular/platform-browser@4.0.0
βββ @angular/platform-browser-dynamic@4.0.0
βββ @ionic-native/core@3.4.2
βββ @ionic-native/geolocation@3.4.4
βββ @ionic-native/splash-screen@3.4.2
βββ @ionic-native/status-bar@3.4.2
βββ¬ @ionic/app-scripts@1.3.0
β βββ¬ autoprefixer@6.7.2
β β βββ¬ browserslist@1.7.7
β β β βββ caniuse-db@1.0.30000649 deduped
β β β βββ electron-to-chromium@1.3.2
β β βββ caniuse-db@1.0.30000649
β β βββ normalize-range@0.1.2
β β βββ num2fraction@1.2.2
β β βββ postcss@5.2.11 deduped
β β βββ postcss-value-parser@3.3.0
β βββ¬ babili@0.0.10
β β βββ¬ babel-cli@6.24.0
β β β βββ¬ babel-core@6.24.0
β β β β βββ¬ babel-code-frame@6.22.0
β β β β β βββ chalk@1.1.3 deduped
β β β β β βββ esutils@2.0.2
β β β β β βββ js-tokens@3.0.1
β β β β βββ¬ babel-generator@6.24.0
β β β β β βββ babel-messages@6.23.0 deduped
β β β β β βββ babel-runtime@6.23.0 deduped
β β β β β βββ babel-types@6.23.0 deduped
β β β β β βββ¬ detect-indent@4.0.0
β β β β β β βββ repeating@2.0.1 deduped
β β β β β βββ jsesc@1.3.0
β β β β β βββ lodash@4.17.4 deduped
β β β β β βββ source-map@0.5.6 deduped
β β β β β βββ trim-right@1.0.1
β β β β βββ¬ babel-helpers@6.23.0
β β β β β βββ babel-runtime@6.23.0 deduped
β β β β β βββ babel-template@6.23.0 deduped
β β β β βββ¬ babel-messages@6.23.0
β β β β β βββ babel-runtime@6.23.0 deduped
β β β β βββ babel-register@6.24.0 deduped
β β β β βββ babel-runtime@6.23.0 deduped
β β β β βββ¬ babel-template@6.23.0
β β β β β βββ babel-runtime@6.23.0 deduped
β β β β β βββ babel-traverse@6.23.1 deduped
β β β β β βββ babel-types@6.23.0 deduped
β β β β β βββ babylon@6.16.1 deduped
β β β β β βββ lodash@4.17.4 deduped
β β β β βββ¬ babel-traverse@6.23.1
β β β β β βββ babel-code-frame@6.22.0 deduped
β β β β β βββ babel-messages@6.23.0 deduped
β β β β β βββ babel-runtime@6.23.0 deduped
β β β β β βββ babel-types@6.23.0 deduped
β β β β β βββ babylon@6.16.1 deduped
β β β β β βββ debug@2.6.3 deduped
β β β β β βββ globals@9.17.0
β β β β β βββ¬ invariant@2.2.2
β β β β β β βββ¬ loose-envify@1.3.1
β β β β β β βββ js-tokens@3.0.1 deduped
β β β β β βββ lodash@4.17.4 deduped
β β β β βββ¬ babel-types@6.23.0
β β β β β βββ babel-runtime@6.23.0 deduped
β β β β β βββ esutils@2.0.2 deduped
β β β β β βββ lodash@4.17.4 deduped
β β β β β βββ to-fast-properties@1.0.2
β β β β βββ babylon@6.16.1
β β β β βββ convert-source-map@1.5.0 deduped
β β β β βββ¬ debug@2.6.3
β β β β β βββ ms@0.7.2 deduped
β β β β βββ json5@0.5.1 deduped
β β β β βββ lodash@4.17.4 deduped
β β β β βββ minimatch@3.0.3 deduped
β β β β βββ path-is-absolute@1.0.1 deduped
β β β β βββ private@0.1.7
β β β β βββ slash@1.0.0 deduped
β β β β βββ source-map@0.5.6 deduped
β β β βββ¬ babel-polyfill@6.23.0
β β β β βββ babel-runtime@6.23.0 deduped
β β β β βββ core-js@2.4.1
β β β β βββ regenerator-runtime@0.10.3
β β β βββ¬ babel-register@6.24.0
β β β β βββ babel-core@6.24.0 deduped
β β β β βββ babel-runtime@6.23.0 deduped
β β β β βββ core-js@2.4.1 deduped
β β β β βββ¬ home-or-tmp@2.0.0
β β β β β βββ os-homedir@1.0.2 deduped
β β β β β βββ os-tmpdir@1.0.2 deduped
β β β β βββ lodash@4.17.4 deduped
β β β β βββ mkdirp@0.5.1 deduped
β β β β βββ source-map-support@0.4.14 deduped
β β β βββ¬ babel-runtime@6.23.0
β β β β βββ core-js@2.4.1 deduped
β β β β βββ regenerator-runtime@0.10.3 deduped
β β β βββ chokidar@1.6.1 deduped
β β β βββ¬ commander@2.9.0
β β β β βββ graceful-readlink@1.0.1 deduped
β β β βββ convert-source-map@1.5.0
β β β βββ fs-readdir-recursive@1.0.0
β β β βββ glob@7.1.1 deduped
β β β βββ lodash@4.17.4
β β β βββ¬ output-file-sync@1.1.2
β β β β βββ graceful-fs@4.1.11 deduped
β β β β βββ mkdirp@0.5.1 deduped
β β β β βββ object-assign@4.1.1 deduped
β β β βββ path-is-absolute@1.0.1 deduped
β β β βββ slash@1.0.0
β β β βββ source-map@0.5.6 deduped
β β β βββ¬ v8flags@2.0.12
β β β βββ user-home@1.1.1
β β βββ¬ babel-preset-babili@0.0.10
β β βββ¬ babel-plugin-minify-constant-folding@0.0.3
β β β βββ babel-helper-evaluate-path@0.0.3
β β βββ¬ babel-plugin-minify-dead-code-elimination@0.1.4
β β β βββ babel-helper-mark-eval-scopes@0.0.3
β β β βββ babel-helper-remove-or-void@0.0.1
β β β βββ lodash.some@4.6.0
β β βββ¬ babel-plugin-minify-flip-comparisons@0.0.2
β β β βββ babel-helper-is-void-0@0.0.1
β β βββ¬ babel-plugin-minify-guarded-expressions@0.0.4
β β β βββ babel-helper-flip-expressions@0.0.2
β β βββ babel-plugin-minify-infinity@0.0.3
β β βββ babel-plugin-minify-mangle-names@0.0.6
β β βββ babel-plugin-minify-numeric-literals@0.0.1
β β βββ babel-plugin-minify-replace@0.0.1
β β βββ¬ babel-plugin-minify-simplify@0.0.6
β β β βββ babel-helper-flip-expressions@0.0.2 deduped
β β β βββ babel-helper-is-nodes-equiv@0.0.1
β β β βββ babel-helper-to-multiple-sequence-expressions@0.0.3
β β βββ¬ babel-plugin-minify-type-constructors@0.0.3
β β β βββ babel-helper-is-void-0@0.0.1 deduped
β β βββ babel-plugin-transform-inline-consecutive-adds@0.0.2
β β βββ babel-plugin-transform-member-expression-literals@6.8.1
β β βββ babel-plugin-transform-merge-sibling-variables@6.8.2
β β βββ¬ babel-plugin-transform-minify-booleans@6.8.0
β β β βββ babel-runtime@6.23.0 deduped
β β βββ babel-plugin-transform-property-literals@6.8.1
β β βββ babel-plugin-transform-regexp-constructors@0.0.5
β β βββ babel-plugin-transform-remove-console@6.8.1
β β βββ babel-plugin-transform-remove-debugger@6.8.1
β β βββ babel-plugin-transform-remove-undefined@0.0.4
β β βββ babel-plugin-transform-simplify-comparison-operators@6.8.1
β β βββ¬ babel-plugin-transform-undefined-to-void@6.8.0
β β β βββ babel-runtime@6.23.0 deduped
β β βββ lodash.isplainobject@4.0.6
β βββ¬ chalk@1.1.3
β β βββ ansi-styles@2.2.1
β β βββ escape-string-regexp@1.0.5
β β βββ¬ has-ansi@2.0.0
β β β βββ ansi-regex@2.1.1
β β βββ¬ strip-ansi@3.0.1
β β β βββ ansi-regex@2.1.1 deduped
β β βββ supports-color@2.0.0
β βββ¬ chokidar@1.6.1
β β βββ¬ anymatch@1.3.0
β β β βββ arrify@1.0.1
β β β βββ micromatch@2.3.11 deduped
β β βββ async-each@1.0.1
β β βββ¬ fsevents@1.1.1
β β β βββ nan@2.5.1 deduped
β β β βββ¬ node-pre-gyp@0.6.33
β β β βββ¬ mkdirp@0.5.1
β β β β βββ minimist@0.0.8
β β β βββ¬ nopt@3.0.6
β β β β βββ abbrev@1.1.0
β β β βββ¬ npmlog@4.0.2
β β β β βββ¬ are-we-there-yet@1.1.2
β β β β β βββ delegates@1.0.0
β β β β β βββ¬ readable-stream@2.2.2
β β β β β βββ buffer-shims@1.0.0 deduped
β β β β β βββ core-util-is@1.0.2 deduped
β β β β β βββ inherits@2.0.3 deduped
β β β β β βββ isarray@1.0.0 deduped
β β β β β βββ process-nextick-args@1.0.7 deduped
β β β β β βββ string_decoder@0.10.31 deduped
β β β β β βββ util-deprecate@1.0.2 deduped
β β β β βββ console-control-strings@1.1.0
β β β β βββ¬ gauge@2.7.3
β β β β β βββ aproba@1.1.1
β β β β β βββ console-control-strings@1.1.0 deduped
β β β β β βββ has-unicode@2.0.1
β β β β β βββ object-assign@4.1.1
β β β β β βββ signal-exit@3.0.2
β β β β β βββ¬ string-width@1.0.2
β β β β β β βββ code-point-at@1.1.0
β β β β β β βββ¬ is-fullwidth-code-point@1.0.0
β β β β β β β βββ number-is-nan@1.0.1
β β β β β β βββ strip-ansi@3.0.1 deduped
β β β β β βββ¬ strip-ansi@3.0.1
β β β β β β βββ ansi-regex@2.1.1
β β β β β βββ¬ wide-align@1.1.0
β β β β β βββ string-width@1.0.2 deduped
β β β β βββ set-blocking@2.0.0
β β β βββ¬ rc@1.1.7
β β β β βββ deep-extend@0.4.1
β β β β βββ ini@1.3.4
β β β β βββ minimist@1.2.0
β β β β βββ strip-json-comments@2.0.1
β β β βββ¬ request@2.79.0
β β β β βββ aws-sign2@0.6.0
β β β β βββ aws4@1.6.0
β β β β βββ caseless@0.11.0
β β β β βββ¬ combined-stream@1.0.5
β β β β β βββ delayed-stream@1.0.0
β β β β βββ extend@3.0.0
β β β β βββ forever-agent@0.6.1
β β β β βββ¬ form-data@2.1.2
β β β β β βββ asynckit@0.4.0
β β β β β βββ combined-stream@1.0.5 deduped
β β β β β βββ mime-types@2.1.14 deduped
β β β β βββ¬ har-validator@2.0.6
β β β β β βββ¬ chalk@1.1.3
β β β β β β βββ ansi-styles@2.2.1
β β β β β β βββ escape-string-regexp@1.0.5
β β β β β β βββ¬ has-ansi@2.0.0
β β β β β β β βββ ansi-regex@2.1.1 deduped
β β β β β β βββ strip-ansi@3.0.1 deduped
β β β β β β βββ supports-color@2.0.0
β β β β β βββ¬ commander@2.9.0
β β β β β β βββ graceful-readlink@1.0.1
β β β β β βββ¬ is-my-json-valid@2.15.0
β β β β β β βββ generate-function@2.0.0
β β β β β β βββ¬ generate-object-property@1.2.0
β β β β β β β βββ is-property@1.0.2
β β β β β β βββ jsonpointer@4.0.1
β β β β β β βββ xtend@4.0.1
β β β β β βββ¬ pinkie-promise@2.0.1
β β β β β βββ pinkie@2.0.4
β β β β βββ¬ hawk@3.1.3
β β β β β βββ¬ boom@2.10.1
β β β β β β βββ hoek@2.16.3 deduped
β β β β β βββ¬ cryptiles@2.0.5
β β β β β β βββ boom@2.10.1 deduped
β β β β β βββ hoek@2.16.3
β β β β β βββ¬ sntp@1.0.9
β β β β β βββ hoek@2.16.3 deduped
β β β β βββ¬ http-signature@1.1.1
β β β β β βββ assert-plus@0.2.0
β β β β β βββ¬ jsprim@1.3.1
β β β β β β βββ extsprintf@1.0.2
β β β β β β βββ json-schema@0.2.3
β β β β β β βββ¬ verror@1.3.6
β β β β β β βββ extsprintf@1.0.2 deduped
β β β β β βββ¬ sshpk@1.10.2
β β β β β βββ asn1@0.2.3
β β β β β βββ assert-plus@1.0.0
β β β β β βββ¬ bcrypt-pbkdf@1.0.1
β β β β β β βββ tweetnacl@0.14.5 deduped
β β β β β βββ¬ dashdash@1.14.1
β β β β β β βββ assert-plus@1.0.0
β β β β β βββ¬ ecc-jsbn@0.1.1
β β β β β β βββ jsbn@0.1.1 deduped
β β β β β βββ¬ getpass@0.1.6
β β β β β β βββ assert-plus@1.0.0
β β β β β βββ¬ jodid25519@1.0.2
β β β β β β βββ jsbn@0.1.1 deduped
β β β β β βββ jsbn@0.1.1
β β β β β βββ tweetnacl@0.14.5
β β β β βββ is-typedarray@1.0.0
β β β β βββ isstream@0.1.2
β β β β βββ json-stringify-safe@5.0.1
β β β β βββ¬ mime-types@2.1.14
β β β β β βββ mime-db@1.26.0
β β β β βββ oauth-sign@0.8.2
β β β β βββ qs@6.3.1
β β β β βββ stringstream@0.0.5
β β β β βββ¬ tough-cookie@2.3.2
β β β β β βββ punycode@1.4.1
β β β β βββ tunnel-agent@0.4.3
β β β β βββ uuid@3.0.1
β β β βββ¬ rimraf@2.5.4
β β β β βββ¬ glob@7.1.1
β β β β βββ fs.realpath@1.0.0
β β β β βββ¬ inflight@1.0.6
β β β β β βββ once@1.4.0 deduped
β β β β β βββ wrappy@1.0.2 deduped
β β β β βββ inherits@2.0.3 deduped
β β β β βββ¬ minimatch@3.0.3
β β β β β βββ¬ brace-expansion@1.1.6
β β β β β βββ balanced-match@0.4.2
β β β β β βββ concat-map@0.0.1
β β β β βββ¬ once@1.4.0
β β β β β βββ wrappy@1.0.2 deduped
β β β β βββ path-is-absolute@1.0.1
β β β βββ semver@5.3.0
β β β βββ¬ tar@2.2.1
β β β β βββ¬ block-stream@0.0.9
β β β β β βββ inherits@2.0.3 deduped
β β β β βββ¬ fstream@1.0.10
β β β β β βββ graceful-fs@4.1.11
β β β β β βββ inherits@2.0.3 deduped
β β β β β βββ mkdirp@0.5.1 deduped
β β β β β βββ rimraf@2.5.4 deduped
β β β β βββ inherits@2.0.3
β β β βββ¬ tar-pack@3.3.0
β β β βββ¬ debug@2.2.0
β β β β βββ ms@0.7.1
β β β βββ fstream@1.0.10 deduped
β β β βββ¬ fstream-ignore@1.0.5
β β β β βββ fstream@1.0.10 deduped
β β β β βββ inherits@2.0.3 deduped
β β β β βββ minimatch@3.0.3 deduped
β β β βββ¬ once@1.3.3
β β β β βββ wrappy@1.0.2
β β β βββ¬ readable-stream@2.1.5
β β β β βββ buffer-shims@1.0.0
β β β β βββ core-util-is@1.0.2
β β β β βββ inherits@2.0.3 deduped
β β β β βββ isarray@1.0.0
β β β β βββ process-nextick-args@1.0.7
β β β β βββ string_decoder@0.10.31
β β β β βββ util-deprecate@1.0.2
β β β βββ rimraf@2.5.4 deduped
β β β βββ tar@2.2.1 deduped
β β β βββ uid-number@0.0.6
β β βββ¬ glob-parent@2.0.0
β β β βββ is-glob@2.0.1 deduped
β β βββ inherits@2.0.3
β β βββ¬ is-binary-path@1.0.1
β β β βββ binary-extensions@1.8.0
β β βββ¬ is-glob@2.0.1
β β β βββ is-extglob@1.0.0
β β βββ path-is-absolute@1.0.1
β β βββ¬ readdirp@2.1.0
β β βββ graceful-fs@4.1.11 deduped
β β βββ minimatch@3.0.3 deduped
β β βββ¬ readable-stream@2.2.6
β β β βββ buffer-shims@1.0.0
β β β βββ core-util-is@1.0.2
β β β βββ inherits@2.0.3 deduped
β β β βββ isarray@1.0.0
β β β βββ process-nextick-args@1.0.7
β β β βββ string_decoder@0.10.31 deduped
β β β βββ util-deprecate@1.0.2 deduped
β β βββ set-immediate-shim@1.0.1
β βββ¬ clean-css@3.4.24
β β βββ¬ commander@2.8.1
β β β βββ graceful-readlink@1.0.1
β β βββ¬ source-map@0.4.4
β β βββ amdefine@1.0.1
β βββ¬ cross-spawn@5.0.1
β β βββ¬ lru-cache@4.0.2
β β β βββ pseudomap@1.0.2
β β β βββ yallist@2.1.2
β β βββ¬ shebang-command@1.2.0
β β β βββ shebang-regex@1.0.0
β β βββ¬ which@1.2.14
β β βββ isexe@2.0.0
β βββ¬ express@4.14.1
β β βββ¬ accepts@1.3.3
β β β βββ¬ mime-types@2.1.15
β β β β βββ mime-db@1.27.0
β β β βββ negotiator@0.6.1
β β βββ array-flatten@1.1.1
β β βββ content-disposition@0.5.2
β β βββ content-type@1.0.2
β β βββ cookie@0.3.1
β β βββ cookie-signature@1.0.6
β β βββ¬ debug@2.2.0
β β β βββ ms@0.7.1
β β βββ depd@1.1.0
β β βββ encodeurl@1.0.1
β β βββ escape-html@1.0.3
β β βββ etag@1.7.0
β β βββ¬ finalhandler@0.5.1
β β β βββ¬ debug@2.2.0
β β β β βββ ms@0.7.1
β β β βββ escape-html@1.0.3 deduped
β β β βββ on-finished@2.3.0 deduped
β β β βββ statuses@1.3.1
β β β βββ unpipe@1.0.0
β β βββ fresh@0.3.0
β β βββ merge-descriptors@1.0.1
β β βββ methods@1.1.2
β β βββ¬ on-finished@2.3.0
β β β βββ ee-first@1.1.1
β β βββ parseurl@1.3.1
β β βββ path-to-regexp@0.1.7
β β βββ¬ proxy-addr@1.1.4
β β β βββ forwarded@0.1.0
β β β βββ ipaddr.js@1.3.0
β β βββ qs@6.2.0
β β βββ range-parser@1.2.0
β β βββ¬ send@0.14.2
β β β βββ¬ debug@2.2.0
β β β β βββ ms@0.7.1
β β β βββ depd@1.1.0 deduped
β β β βββ destroy@1.0.4
β β β βββ encodeurl@1.0.1 deduped
β β β βββ escape-html@1.0.3 deduped
β β β βββ etag@1.7.0 deduped
β β β βββ fresh@0.3.0 deduped
β β β βββ¬ http-errors@1.5.1
β β β β βββ inherits@2.0.3 deduped
β β β β βββ setprototypeof@1.0.2
β β β β βββ statuses@1.3.1 deduped
β β β βββ mime@1.3.4
β β β βββ ms@0.7.2
β β β βββ on-finished@2.3.0 deduped
β β β βββ range-parser@1.2.0 deduped
β β β βββ statuses@1.3.1 deduped
β β βββ¬ serve-static@1.11.2
β β β βββ encodeurl@1.0.1 deduped
β β β βββ escape-html@1.0.3 deduped
β β β βββ parseurl@1.3.1 deduped
β β β βββ send@0.14.2 deduped
β β βββ¬ type-is@1.6.15
β β β βββ media-typer@0.3.0
β β β βββ mime-types@2.1.15 deduped
β β βββ utils-merge@1.0.0
β β βββ vary@1.1.1
β βββ¬ fs-extra@2.0.0
β β βββ graceful-fs@4.1.11
β β βββ¬ jsonfile@2.4.0
β β βββ graceful-fs@4.1.11 deduped
β βββ¬ glob@7.1.1
β β βββ fs.realpath@1.0.0
β β βββ¬ inflight@1.0.6
β β β βββ once@1.4.0 deduped
β β β βββ wrappy@1.0.2
β β βββ inherits@2.0.3 deduped
β β βββ¬ minimatch@3.0.3
β β β βββ¬ brace-expansion@1.1.6
β β β βββ balanced-match@0.4.2
β β β βββ concat-map@0.0.1
β β βββ¬ once@1.4.0
β β β βββ wrappy@1.0.2 deduped
β β βββ path-is-absolute@1.0.1 deduped
β βββ json-loader@0.5.4
β βββ¬ magic-string@0.19.0
β β βββ vlq@0.2.1
β βββ¬ node-sass@4.5.0
β β βββ async-foreach@0.1.3
β β βββ chalk@1.1.3 deduped
β β βββ¬ cross-spawn@3.0.1
β β β βββ lru-cache@4.0.2 deduped
β β β βββ which@1.2.14 deduped
β β βββ¬ gaze@1.1.2
β β β βββ¬ globule@1.1.0
β β β βββ glob@7.1.1 deduped
β β β βββ lodash@4.16.6
β β β βββ minimatch@3.0.3 deduped
β β βββ get-stdin@4.0.1
β β βββ glob@7.1.1 deduped
β β βββ in-publish@2.0.0
β β βββ lodash.assign@4.2.0
β β βββ lodash.clonedeep@4.5.0
β β βββ lodash.mergewith@4.6.0
β β βββ¬ meow@3.7.0
β β β βββ¬ camelcase-keys@2.1.0
β β β β βββ camelcase@2.1.1
β β β β βββ map-obj@1.0.1 deduped
β β β βββ decamelize@1.2.0
β β β βββ¬ loud-rejection@1.6.0
β β β β βββ¬ currently-unhandled@0.4.1
β β β β β βββ array-find-index@1.0.2
β β β β βββ signal-exit@3.0.2
β β β βββ map-obj@1.0.1
β β β βββ minimist@1.2.0 deduped
β β β βββ¬ normalize-package-data@2.3.6
β β β β βββ hosted-git-info@2.4.1
β β β β βββ¬ is-builtin-module@1.0.0
β β β β β βββ builtin-modules@1.1.1 deduped
β β β β βββ semver@5.3.0 deduped
β β β β βββ¬ validate-npm-package-license@3.0.1
β β β β βββ¬ spdx-correct@1.0.2
β β β β β βββ spdx-license-ids@1.2.2
β β β β βββ spdx-expression-parse@1.0.4
β β β βββ object-assign@4.1.1 deduped
β β β βββ¬ read-pkg-up@1.0.1
β β β β βββ¬ find-up@1.1.2
β β β β β βββ¬ path-exists@2.1.0
β β β β β β βββ pinkie-promise@2.0.1 deduped
β β β β β βββ¬ pinkie-promise@2.0.1
β β β β β βββ pinkie@2.0.4
β β β β βββ¬ read-pkg@1.1.0
β β β β βββ¬ load-json-file@1.1.0
β β β β β βββ graceful-fs@4.1.11 deduped
β β β β β βββ¬ parse-json@2.2.0
β β β β β β βββ¬ error-ex@1.3.1
β β β β β β βββ is-arrayish@0.2.1
β β β β β βββ pify@2.3.0
β β β β β βββ pinkie-promise@2.0.1 deduped
β β β β β βββ¬ strip-bom@2.0.0
β β β β β βββ is-utf8@0.2.1
β β β β βββ normalize-package-data@2.3.6 deduped
β β β β βββ¬ path-type@1.1.0
β β β β βββ graceful-fs@4.1.11 deduped
β β β β βββ pify@2.3.0 deduped
β β β β βββ pinkie-promise@2.0.1 deduped
β β β βββ¬ redent@1.0.0
β β β β βββ¬ indent-string@2.1.0
β β β β β βββ¬ repeating@2.0.1
β β β β β βββ¬ is-finite@1.0.2
β β β β β βββ number-is-nan@1.0.1 deduped
β β β β βββ¬ strip-indent@1.0.1
β β β β βββ get-stdin@4.0.1 deduped
β β β βββ trim-newlines@1.0.0
β β βββ¬ mkdirp@0.5.1
β β β βββ minimist@0.0.8
β β βββ nan@2.5.1
β β βββ¬ node-gyp@3.6.0
β β β βββ¬ fstream@1.0.11
β β β β βββ graceful-fs@4.1.11 deduped
β β β β βββ inherits@2.0.3 deduped
β β β β βββ mkdirp@0.5.1 deduped
β β β β βββ rimraf@2.6.1 deduped
β β β βββ glob@7.1.1 deduped
β β β βββ graceful-fs@4.1.11 deduped
β β β βββ minimatch@3.0.3 deduped
β β β βββ mkdirp@0.5.1 deduped
β β β βββ¬ nopt@3.0.6
β β β β βββ abbrev@1.1.0
β β β βββ npmlog@4.0.2 deduped
β β β βββ¬ osenv@0.1.4
β β β β βββ os-homedir@1.0.2
β β β β βββ os-tmpdir@1.0.2
β β β βββ request@2.81.0 deduped
β β β βββ¬ rimraf@2.6.1
β β β β βββ glob@7.1.1 deduped
β β β βββ semver@5.3.0
β β β βββ¬ tar@2.2.1
β β β β βββ¬ block-stream@0.0.9
β β β β β βββ inherits@2.0.3 deduped
β β β β βββ fstream@1.0.11 deduped
β β β β βββ inherits@2.0.3 deduped
β β β βββ which@1.2.14 deduped
β β βββ¬ npmlog@4.0.2
β β β βββ¬ are-we-there-yet@1.1.2
β β β β βββ delegates@1.0.0
β β β β βββ¬ readable-stream@2.2.6
β β β β βββ buffer-shims@1.0.0 deduped
β β β β βββ core-util-is@1.0.2 deduped
β β β β βββ inherits@2.0.3 deduped
β β β β βββ isarray@1.0.0
β β β β βββ process-nextick-args@1.0.7 deduped
β β β β βββ string_decoder@0.10.31 deduped
β β β β βββ util-deprecate@1.0.2 deduped
β β β βββ console-control-strings@1.1.0
β β β βββ¬ gauge@2.7.3
β β β β βββ aproba@1.1.1
β β β β βββ console-control-strings@1.1.0 deduped
β β β β βββ has-unicode@2.0.1
β β β β βββ object-assign@4.1.1 deduped
β β β β βββ signal-exit@3.0.2 deduped
β β β β βββ string-width@1.0.2 deduped
β β β β βββ strip-ansi@3.0.1 deduped
β β β β βββ¬ wide-align@1.1.0
β β β β βββ string-width@1.0.2 deduped
β β β βββ set-blocking@2.0.0
β β βββ¬ request@2.81.0
β β β βββ aws-sign2@0.6.0
β β β βββ aws4@1.6.0
β β β βββ caseless@0.12.0
β β β βββ¬ combined-stream@1.0.5
β β β β βββ delayed-stream@1.0.0
β β β βββ extend@3.0.0
β β β βββ forever-agent@0.6.1
β β β βββ¬ form-data@2.1.2
β β β β βββ asynckit@0.4.0
β β β β βββ combined-stream@1.0.5 deduped
β β β β βββ mime-types@2.1.15 deduped
β β β βββ¬ har-validator@4.2.1
β β β β βββ ajv@4.11.5 deduped
β β β β βββ har-schema@1.0.5
β β β βββ¬ hawk@3.1.3
β β β β βββ¬ boom@2.10.1
β β β β β βββ hoek@2.16.3 deduped
β β β β βββ¬ cryptiles@2.0.5
β β β β β βββ boom@2.10.1 deduped
β β β β βββ hoek@2.16.3
β β β β βββ¬ sntp@1.0.9
β β β β βββ hoek@2.16.3 deduped
β β β βββ¬ http-signature@1.1.1
β β β β βββ assert-plus@0.2.0
β β β β βββ¬ jsprim@1.4.0
β β β β β βββ assert-plus@1.0.0
β β β β β βββ extsprintf@1.0.2
β β β β β βββ json-schema@0.2.3
β β β β β βββ¬ verror@1.3.6
β β β β β βββ extsprintf@1.0.2 deduped
β β β β βββ¬ sshpk@1.11.0
β β β β βββ asn1@0.2.3
β β β β βββ assert-plus@1.0.0
β β β β βββ¬ bcrypt-pbkdf@1.0.1
β β β β β βββ tweetnacl@0.14.5 deduped
β β β β βββ¬ dashdash@1.14.1
β β β β β βββ assert-plus@1.0.0
β β β β βββ¬ ecc-jsbn@0.1.1
β β β β β βββ jsbn@0.1.1 deduped
β β β β βββ¬ getpass@0.1.6
β β β β β βββ assert-plus@1.0.0
β β β β βββ¬ jodid25519@1.0.2
β β β β β βββ jsbn@0.1.1 deduped
β β β β βββ jsbn@0.1.1
β β β β βββ tweetnacl@0.14.5
β β β βββ is-typedarray@1.0.0
β β β βββ isstream@0.1.2
β β β βββ json-stringify-safe@5.0.1
β β β βββ mime-types@2.1.15 deduped
β β β βββ oauth-sign@0.8.2
β β β βββ performance-now@0.2.0
β β β βββ qs@6.4.0
β β β βββ safe-buffer@5.0.1
β β β βββ stringstream@0.0.5
β β β βββ¬ tough-cookie@2.3.2
β β β β βββ punycode@1.4.1 deduped
β β β βββ¬ tunnel-agent@0.6.0
β β β β βββ safe-buffer@5.0.1 deduped
β β β βββ uuid@3.0.1
β β βββ¬ sass-graph@2.1.2
β β β βββ glob@7.1.1 deduped
β β β βββ lodash@4.17.4 deduped
β β β βββ¬ yargs@4.8.1
β β β βββ cliui@3.2.0 deduped
β β β βββ decamelize@1.2.0 deduped
β β β βββ get-caller-file@1.0.2 deduped
β β β βββ lodash.assign@4.2.0 deduped
β β β βββ os-locale@1.4.0 deduped
β β β βββ read-pkg-up@1.0.1 deduped
β β β βββ require-directory@2.1.1 deduped
β β β βββ require-main-filename@1.0.1 deduped
β β β βββ set-blocking@2.0.0 deduped
β β β βββ string-width@1.0.2 deduped
β β β βββ which-module@1.0.0 deduped
β β β βββ window-size@0.2.0
β β β βββ y18n@3.2.1 deduped
β β β βββ¬ yargs-parser@2.4.1
β β β βββ camelcase@3.0.0
β β β βββ lodash.assign@4.2.0 deduped
β β βββ¬ stdout-stream@1.4.0
β β βββ¬ readable-stream@2.2.6
β β βββ buffer-shims@1.0.0 deduped
β β βββ core-util-is@1.0.2 deduped
β β βββ inherits@2.0.3 deduped
β β βββ isarray@1.0.0
β β βββ process-nextick-args@1.0.7 deduped
β β βββ string_decoder@0.10.31 deduped
β β βββ util-deprecate@1.0.2 deduped
β βββ¬ os-name@2.0.1
β β βββ macos-release@1.0.0
β β βββ¬ win-release@1.1.1
β β βββ semver@5.3.0 deduped
β βββ¬ postcss@5.2.11
β β βββ chalk@1.1.3 deduped
β β βββ js-base64@2.1.9
β β βββ source-map@0.5.6
β β βββ¬ supports-color@3.2.3
β β βββ has-flag@1.0.0
β βββ proxy-middleware@0.15.0
β βββ¬ rollup@0.41.4
β β βββ¬ source-map-support@0.4.14
β β βββ source-map@0.5.6 deduped
β βββ¬ rollup-plugin-commonjs@7.0.0
β β βββ acorn@4.0.11
β β βββ estree-walker@0.3.1
β β βββ magic-string@0.19.0 deduped
β β βββ¬ resolve@1.3.2
β β β βββ path-parse@1.0.5
β β βββ¬ rollup-pluginutils@1.5.2
β β βββ estree-walker@0.2.1
β β βββ minimatch@3.0.3 deduped
β βββ¬ rollup-plugin-json@2.1.0
β β βββ¬ rollup-pluginutils@1.5.2
β β βββ estree-walker@0.2.1
β β βββ minimatch@3.0.3 deduped
β βββ¬ rollup-plugin-node-builtins@2.0.0
β β βββ buffer-es6@4.9.3
β β βββ¬ crypto-browserify@3.11.0
β β β βββ¬ browserify-cipher@1.0.0
β β β β βββ¬ browserify-aes@1.0.6
β β β β β βββ buffer-xor@1.0.3
β β β β β βββ cipher-base@1.0.3 deduped
β β β β β βββ create-hash@1.1.2 deduped
β β β β β βββ evp_bytestokey@1.0.0 deduped
β β β β β βββ inherits@2.0.3 deduped
β β β β βββ¬ browserify-des@1.0.0
β β β β β βββ cipher-base@1.0.3 deduped
β β β β β βββ¬ des.js@1.0.0
β β β β β β βββ inherits@2.0.3 deduped
β β β β β β βββ minimalistic-assert@1.0.0 deduped
β β β β β βββ inherits@2.0.3 deduped
β β β β βββ¬ evp_bytestokey@1.0.0
β β β β βββ create-hash@1.1.2 deduped
β β β βββ¬ browserify-sign@4.0.4
β β β β βββ bn.js@4.11.6
β β β β βββ¬ browserify-rsa@4.0.1
β β β β β βββ bn.js@4.11.6 deduped
β β β β β βββ randombytes@2.0.3 deduped
β β β β βββ create-hash@1.1.2 deduped
β β β β βββ create-hmac@1.1.4 deduped
β β β β βββ¬ elliptic@6.4.0
β β β β β βββ bn.js@4.11.6 deduped
β β β β β βββ brorand@1.1.0
β β β β β βββ¬ hash.js@1.0.3
β β β β β β βββ inherits@2.0.3 deduped
β β β β β βββ¬ hmac-drbg@1.0.0
β β β β β β βββ hash.js@1.0.3 deduped
β β β β β β βββ minimalistic-assert@1.0.0 deduped
β β β β β β βββ minimalistic-crypto-utils@1.0.1 deduped
β β β β β βββ inherits@2.0.3 deduped
β β β β β βββ minimalistic-assert@1.0.0
β β β β β βββ minimalistic-crypto-utils@1.0.1
β β β β βββ inherits@2.0.3 deduped
β β β β βββ¬ parse-asn1@5.1.0
β β β β βββ¬ asn1.js@4.9.1
β β β β β βββ bn.js@4.11.6 deduped
β β β β β βββ inherits@2.0.3 deduped
β β β β β βββ minimalistic-assert@1.0.0 deduped
β β β β βββ browserify-aes@1.0.6 deduped
β β β β βββ create-hash@1.1.2 deduped
β β β β βββ evp_bytestokey@1.0.0 deduped
β β β β βββ pbkdf2@3.0.9 deduped
β β β βββ¬ create-ecdh@4.0.0
β β β β βββ bn.js@4.11.6 deduped
β β β β βββ elliptic@6.4.0 deduped
β β β βββ¬ create-hash@1.1.2
β β β β βββ¬ cipher-base@1.0.3
β β β β β βββ inherits@2.0.3 deduped
β β β β βββ inherits@2.0.3 deduped
β β β β βββ ripemd160@1.0.1
β β β β βββ¬ sha.js@2.4.8
β β β β βββ inherits@2.0.3 deduped
β β β βββ¬ create-hmac@1.1.4
β β β β βββ create-hash@1.1.2 deduped
β β β β βββ inherits@2.0.3 deduped
β β β βββ¬ diffie-hellman@5.0.2
β β β β βββ bn.js@4.11.6 deduped
β β β β βββ¬ miller-rabin@4.0.0
β β β β β βββ bn.js@4.11.6 deduped
β β β β β βββ brorand@1.1.0 deduped
β β β β βββ randombytes@2.0.3 deduped
β β β βββ inherits@2.0.3 deduped
β β β βββ¬ pbkdf2@3.0.9
β β β β βββ create-hmac@1.1.4 deduped
β β β βββ¬ public-encrypt@4.0.0
β β β β βββ bn.js@4.11.6 deduped
β β β β βββ browserify-rsa@4.0.1 deduped
β β β β βββ create-hash@1.1.2 deduped
β β β β βββ parse-asn1@5.1.0 deduped
β β β β βββ randombytes@2.0.3 deduped
β β β βββ randombytes@2.0.3
β β βββ process-es6@0.11.6
β βββ¬ rollup-plugin-node-globals@1.1.0
β β βββ acorn@4.0.11
β β βββ buffer-es6@4.9.3 deduped
β β βββ estree-walker@0.2.1
β β βββ¬ magic-string@0.16.0
β β β βββ vlq@0.2.1 deduped
β β βββ process-es6@0.11.6 deduped
β β βββ¬ rollup-pluginutils@1.5.2
β β βββ estree-walker@0.2.1 deduped
β β βββ minimatch@3.0.3 deduped
β βββ¬ rollup-plugin-node-resolve@2.0.0
β β βββ¬ browser-resolve@1.11.2
β β β βββ resolve@1.1.7
β β βββ builtin-modules@1.1.1
β β βββ resolve@1.3.2 deduped
(too long complete text here)
But still get the same error
I just started getting this issue after upgrading to "ionic-angular": "3.0.0" and "@ionic/app-scripts": "1.3.0"
No other changes seem to have happened to my project.
Iβm trying to revert and confirm the upgrade is the reason.
All that looks good, you have Angular 4 and Ionic 3. If you look at the timestamps of main.js inside www/build, do they look fresh? Does running ionic build have any effect?
I was already at ionic-angular 3.0.0, but I just bumped app-scripts to 1.3.0 and did not see the problem.
Perhaps, this thread https://forum.ionicframework.com/t/ionic-3-0-0-beta/ and the Ionic 3 Update Guide within it might be helpful.
After ionic build those fileβs timestamps changed. Iβm uploading all the project so maybe you can see the problem. Give me 15 minutes
Ah, that gives me an idea. Perhaps is BrowserModule missing from the app module?
I just reverted and the project works again.
These two packages are the only outdated ones.
Everything else is the latest from npm. I have a suspicion this is some incompatibility with a third-party package Iβm using. Continuing to investigate.
PS C:\projects\xxx> npm cache clean
PS C:\projects\xxx> npm outdated -g
PS C:\projects\xxx> npm outdated
Package Current Wanted Latest Location
@ionic/app-scripts 1.2.5 1.2.5 1.3.0 xxx
ionic-angular 2.3.0 2.3.0 3.0.0 xxx
OK, I am now virtually certain this is caused by failure to add BrowserModule to the imports stanza of oneβs app module.
how to?
I made it with and without this line
import { BrowserModule } from '@angular/platform-browser';
It needs to be added to here: