Today I've upgraded all my project's packages.
I now have the following:
{
"name": "my-app",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@alyle/ui": "^10.5.1",
"@angular/animations": "^11.1.0",
"@angular/cdk": "^11.1.0",
"@angular/common": "^11.1.0",
"@angular/compiler": "^11.1.0",
"@angular/core": "^11.1.0",
"@angular/forms": "^11.1.0",
"@angular/http": "^7.0.3",
"@angular/material": "^11.1.0",
"@angular/platform-browser": "^11.1.0",
"@angular/platform-browser-dynamic": "^11.1.0",
"@angular/router": "^11.1.0",
"@fullcalendar/core": "^5.5.1",
"@ngx-translate/core": "^13.0.0",
"@ngx-translate/http-loader": "^6.0.0",
"@types/google-maps": "^3.2.1",
"@types/quill": "^2.0.3",
"@zxing/library": "^0.18.3",
"@zxing/ngx-scanner": "^3.1.2",
"angular2-click-outside": "^0.1.0",
"angular2-csv": "^0.2.9",
"angular2-json2csv": "^1.1.2",
"angular2-moment": "^1.9.0",
"chart.js": "^2.7.3",
"chroma-js": "^2.0.2",
"classlist.js": "^1.1.20150312",
"core-js": "^3.8.3",
"hammerjs": "^2.0.8",
"jquery": "^3.3.1",
"location-picker": "^1.1.1",
"moment-timezone": "^0.5.32",
"mydatepicker": "^2.6.11",
"ng-click-outside": "^7.0.0",
"ngx-malihu-scrollbar": "^9.0.0",
"primeicons": "^4.1.0",
"primeng": "^11.1.0",
"quill": "^1.3.7",
"rxjs": "^6.6.3",
"rxjs-compat": "^6.6.3",
"ts-helpers": "^1.1.1",
"web-animations-js": "^2.3.2",
"zone.js": "^0.11.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "^0.1101.0",
"@angular/cli": "^11.1.0",
"@angular/compiler-cli": "^11.1.0",
"@types/jasmine": "^3.6.3",
"@types/node": "^14.14.22",
"angular": "^1.8.0",
"codelyzer": "^6.0.0",
"jasmine-core": "^3.6.0",
"jasmine-spec-reporter": "^6.0.0",
"karma": "^6.0.1",
"karma-chrome-launcher": "^3.1.0",
"karma-cli": "^2.0.0",
"karma-jasmine": "^4.0.1",
"karma-remap-istanbul": "^0.6.0",
"ngx-color-picker": "^11.0.0",
"protractor": "^7.0.0",
"ts-node": "^9.1.1",
"tslint": "^6.1.3",
"typescript": "^4.0.3"
}
}
But when I run ng serve I get the following errors:
Error: ./node_modules/@zxing/ngx-scanner/fesm2015/zxing-ngx-scanner.js 1062:6-23
"export '傻傻staticViewQuery' was not found in '@angular/core'
Ah ok I fixed it by rolling back to the last previous version:
npm install @zxing/[email protected]
But I guess this might come up again in the future with the latest Angular updates.
same here
I don't use this ngx-scanner package, but I found this issue from a Google search. We had the same error message when trying to update an app to @anguler/[email protected]. I wonder if it's an Angular bug.
Same issue here!
seems like libs that are precompiled with Ivy need to be updated somehow. ref https://github.com/angular/angular/issues/40574#issuecomment-767519624