-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Labels
Description
Bug Report
Ionic Info
Ionic:
ionic (Ionic CLI) : 4.1.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.0.0-beta.6
@angular-devkit/core : 0.7.5
@angular-devkit/schematics : 0.7.5
@angular/cli : 6.1.5
@ionic/ng-toolkit : 1.0.7
@ionic/schematics-angular : 1.0.5
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : none
Cordova Plugins : no whitelisted plugins (0 plugins total)
System:
Android SDK Tools : 26.1.1 (/home/ynikolov/Android/Sdk/)
NodeJS : v10.6.0 (/usr/local/bin/node)
npm : 6.1.0
OS : Linux 4.13
Describe the Bug
I can't build my application because of this error:
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 695 bytes [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 5.22 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 98.3 kB [initial] [rendered]
ERROR in node_modules/@ionic/angular/dist/types/components/toast/toast-interface.d.ts(1,34): error TS2307: Cannot find module '../../interface'.
[ERROR] An error occurred while running subprocess ng.
Steps to Reproduce
- update to ionic 4.0.0-beta.6 or higher
- ionic cordova build android --release
- ionic serve (you can see it also here, but some how after you change something in the code, application loads)
Expected Behavior
To be able to start my application without seeing any errors from Ionic core.
Additional Context
This error occurred after i upgrade my Ionic 4-beta.4 to beta.7