angular cli版本是6.0.8 我正在使用以下命令
$ ng add @angular/pwa --project flash
例如
PC@DESKTOP-HLV67E7 MINGW64 /f/avinash-trying/flash (master)
$ ng add @angular/pwa --project flash
Installing packages for tooling via npm.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
+ @angular/pwa@0.7.3
updated 1 package in 8.915s
Installed packages for tooling via npm.
Invalid rule result: Function().
它抛出错误无效的规则结果:Function()。 预先感谢