Hey!
I’m having this issue with the compiler-cli dependency, and i don’t really know what to do at this point.
My project was perfectly fine until like a week ago, and i honestly don’t think i could have done much to ruin it, as i didn’t touch my node modules or package.json before this.
The error also happens when building the app via Ionic hub, so it isn’t a local thing, it’s got to be package-related, but i don’t know what more to do.
I’ve tried to revert to an older version of package.json and package-lock.json, but it still didn’t fix it.
I’ve seen the line of code in question, but fixing the issue only works locally, so it won’t help in the long run. It looks like this, and removing “ngErrorCode” fixes the problem.
export { ErrorCode, ngErrorCode } from ‘./src/error_code’;
Dependencies in package.json:
“@angular/animations”: “7.0.4”,
“@angular/common”: “7.0.4”,
“@angular/compiler”: “^9.0.0”,
“@angular/compiler-cli”: “^9.0.0”,
“@angular/core”: “7.0.4”,
“@angular/forms”: “7.0.4”,
“@angular/http”: “7.0.4”,
“@angular/platform-browser”: “7.0.4”,
“@angular/platform-browser-dynamic”: “7.0.4”,
“@ionic-native/background-mode”: “^4.20.0”,
“@ionic-native/core”: “^4.17.0”,
“@ionic-native/file-encryption”: “^5.3.0”,
“@ionic-native/http”: “^4.20.0”,
“@ionic-native/local-notifications”: “^4.20.0”,
“@ionic-native/splash-screen”: “~4.17.0”,
“@ionic-native/status-bar”: “^4.20.0”,
“@ionic-native/wheel-selector”: “^4.20.0”,
“@ionic/pro”: “2.0.3”,
“@ionic/storage”: “^2.2.0”,
“@ngx-translate/core”: “^11.0.1”,
“@ngx-translate/http-loader”: “^4.0.0”,
“ajv”: “^6.8.1”,
“cordova-android”: “7.1.2”,
“cordova-ios”: “4.5.5”,
“cordova-plugin-advanced-http”: “^2.1.1”,
“cordova-plugin-background-mode”: “git+https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background.git”,
“cordova-plugin-badge”: “^0.8.8”,
“cordova-plugin-device”: “^2.0.3”,
“cordova-plugin-file”: “^6.0.2”,
“cordova-plugin-ionic”: “^5.3.0”,
“cordova-plugin-ionic-keyboard”: “^2.1.3”,
“cordova-plugin-ionic-webview”: “^2.5.1”,
“cordova-plugin-local-notification”: “^0.9.0-beta.2”,
“cordova-plugin-splashscreen”: “^5.0.3”,
“cordova-plugin-statusbar”: “^2.4.3”,
“cordova-plugin-whitelist”: “^1.3.4”,
“cordova-plugin-wifiwizard2”: “3.1.1”,
“cordova-wheel-selector-plugin”: “^1.1.3”,
“es6-promise-plugin”: “^4.1.0”,
“highcharts”: “^6.2.0”,
“highcharts-angular”: “^2.4.0”,
“ionic-angular”: “^3.9.3”,
“ionicons”: “4.4.7”,
“lodash”: “^4.17.14”,
“rxjs”: “^6.5.5”,
“rxjs-compat”: “^6.4.0”,
“sw-toolbox”: “3.6.0”,
“tslint”: “^5.12.1”,
“wifiwizard2”: “^3.1.1”,
“zone.js”: “0.8.26”
1 post - 1 participant