Description
Hi. Since v8 beta 8, there is a ¿charset issue? which alters some imports and makes full library to fail. For example:
On build process, there are lots of warnings:
WARNING in ./node_modules/@ngx-pwa/local-storage/fesm5/ngx-pwa-local-storage.js 267:36-54
"export 'ɵɵdefineInjectable' was not found in '@angular/core'
WARNING in ./node_modules/@ngx-pwa/local-storage/fesm5/ngx-pwa-local-storage.js 714:40-58
"export 'ɵɵdefineInjectable' was not found in '@angular/core'
WARNING in ./node_modules/@ngx-pwa/local-storage/fesm5/ngx-pwa-local-storage.js 869:43-61
"export 'ɵɵdefineInjectable' was not found in '@angular/core'
WARNING in ./node_modules/@ngx-pwa/local-storage/fesm5/ngx-pwa-local-storage.js 947:37-55
"export 'ɵɵdefineInjectable' was not found in '@angular/core'
WARNING in ./node_modules/@ngx-pwa/local-storage/fesm5/ngx-pwa-local-storage.js 1001:36-54
"export 'ɵɵdefineInjectable' was not found in '@angular/core'
WARNING in ./node_modules/@ngx-pwa/local-storage/fesm5/ngx-pwa-local-storage.js 1143:33-51
"export 'ɵɵdefineInjectable' was not found in '@angular/core'
WARNING in ./node_modules/@ngx-pwa/local-storage/fesm5/ngx-pwa-local-storage.js 1281:35-53
"export 'ɵɵdefineInjectable' was not found in '@angular/core'
WARNING in ./node_modules/@ngx-pwa/local-storage/fesm5/ngx-pwa-local-storage.js 714:138-146
"export 'ɵɵinject' was not found in '@angular/core'
WARNING in ./node_modules/@ngx-pwa/local-storage/fesm5/ngx-pwa-local-storage.js 714:161-169
"export 'ɵɵinject' was not found in '@angular/core'
WARNING in ./node_modules/@ngx-pwa/local-storage/fesm5/ngx-pwa-local-storage.js 714:187-195
"export 'ɵɵinject' was not found in '@angular/core'
WARNING in ./node_modules/@ngx-pwa/local-storage/fesm5/ngx-pwa-local-storage.js 869:147-155
"export 'ɵɵinject' was not found in '@angular/core'
WARNING in ./node_modules/@ngx-pwa/local-storage/fesm5/ngx-pwa-local-storage.js 869:168-176
"export 'ɵɵinject' was not found in '@angular/core'
WARNING in ./node_modules/@ngx-pwa/local-storage/fesm5/ngx-pwa-local-storage.js 1001:129-137
"export 'ɵɵinject' was not found in '@angular/core'
WARNING in ./node_modules/@ngx-pwa/local-storage/fesm5/ngx-pwa-local-storage.js 1001:152-160
"export 'ɵɵinject' was not found in '@angular/core'
WARNING in ./node_modules/@ngx-pwa/local-storage/fesm5/ngx-pwa-local-storage.js 1001:173-181
"export 'ɵɵinject' was not found in '@angular/core'
WARNING in ./node_modules/@ngx-pwa/local-storage/fesm5/ngx-pwa-local-storage.js 1001:196-204
"export 'ɵɵinject' was not found in '@angular/core'
WARNING in ./node_modules/@ngx-pwa/local-storage/fesm5/ngx-pwa-local-storage.js 1001:222-230
"export 'ɵɵinject' was not found in '@angular/core'
WARNING in ./node_modules/@ngx-pwa/local-storage/fesm5/ngx-pwa-local-storage.js 1143:117-125
"export 'ɵɵinject' was not found in '@angular/core'
WARNING in ./node_modules/@ngx-pwa/local-storage/fesm5/ngx-pwa-local-storage.js 1143:142-150
"export 'ɵɵinject' was not found in '@angular/core'
WARNING in ./node_modules/@ngx-pwa/local-storage/fesm5/ngx-pwa-local-storage.js 1143:167-175
"export 'ɵɵinject' was not found in '@angular/core'
WARNING in ./node_modules/@ngx-pwa/local-storage/fesm5/ngx-pwa-local-storage.js 1143:188-196
"export 'ɵɵinject' was not found in '@angular/core'
WARNING in ./node_modules/@ngx-pwa/local-storage/fesm5/ngx-pwa-local-storage.js 1281:123-131
"export 'ɵɵinject' was not found in '@angular/core'
And here is my setup:
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / | | | | |/ _
| '__| | | | | | |
/ ___ | | | | (| | || | | (| | | | || | | |
// __| ||_, |_,||_,|| _|||
|___/
Angular CLI: 7.3.9
Node: 11.9.0
OS: win32 x64
Angular: 7.2.15
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router, service-worker
Package Version
@angular-devkit/architect 0.13.9
@angular-devkit/build-angular 0.13.9
@angular-devkit/build-optimizer 0.13.9
@angular-devkit/build-webpack 0.13.9
@angular-devkit/core 7.3.9
@angular-devkit/schematics 7.3.9
@angular/cli 7.3.9
@angular/pwa 0.13.9
@ngtools/webpack 7.3.9
@schematics/angular 7.3.9
@schematics/update 0.13.9
rxjs 6.5.2
typescript 3.2.4
webpack 4.29.0
Note that downgrading to beta 7 makes it work again and reinstalling beta 8-10 reinstates the error.