-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Description
Bug Report or Feature Request (mark with an x
)
I execute the " ng add @angular/pwa" command, and do not automatically create relevant files of service worker after successful installation
Command (mark with an x
)
ng add @angular/pwa
Versions
node -v
v10.6.0
npm -v
6.1.0
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / | | | | |/ _
| '__| | | | | | |
/ ___ | | | | (| | || | | (| | | | || | | |
// __| ||_, |_,||_,|| _|||
|___/
Angular CLI: 6.0.8
Node: 10.6.0
OS: win32 x64
Angular: 6.1.3
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router
... service-worker
Package Version
@angular-devkit/architect 0.6.8
@angular-devkit/build-angular 0.6.8
@angular-devkit/build-optimizer 0.6.8
@angular-devkit/core 0.6.8
@angular-devkit/schematics 0.6.8
@angular/cdk 6.4.5
@angular/cli 6.0.8
@angular/pwa 0.7.3
@ngtools/webpack 6.0.8
@schematics/angular 0.6.8
@schematics/update 0.6.8
rxjs 6.2.2
typescript 2.7.2
webpack 4.8.3
windows version
windows 10 家庭版
Repro steps
excute command after
ng add @angular/pwa
Installing packages for tooling via npm.
- @angular/pwa@0.7.3
updated 1 package in 8.534s
Installed packages for tooling via npm.
Invalid rule result: Function().
it say "Invalid rule result: Function()."
Is this reason?