You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ng add @angular/pwa
`
and I get the following error:
Installing packages for tooling via npm.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
@angular/[email protected]
added 5 packages from 2 contributors in 19.266s
[!] 14 vulnerabilities found [26695 packages audited]
Severity: 9 low | 5 high
Run npm audit for more detail
Installed packages for tooling via npm.
Invalid rule result: Function().
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.
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?
The log given by the failure
Desired functionality
Mention any other details that might be useful
The text was updated successfully, but these errors were encountered: