因为某种意外造成 异常 ,看了很多类似文章没有成功解决。
先贴我的成功方案不一定通用,以后用空再分析:
// 删除 package-lock.json与node_modules里的文件,然后 npm install
// 嗯,解决...
https://docs.npmjs.com/cli-commands/install.html
ERROR Error: Uncaught (in promise):
NullInjectorError: StaticInjectorError(AppModule)
[Overlay -> ScrollStrategyOptions]:
StaticInjectorError(Platform: core)
[Overlay -> ScrollStrategyOptions]:
NullInjectorError:
No provider for ScrollStrategyOptions!
NullInjectorError:
StaticInjectorError(AppModule)
[Overlay -> ScrollStrategyOptions]:
StaticInjectorError(Platform: core)
[Overlay -> ScrollStrategyOptions]:
NullInjectorError:
No provider for ScrollStrategyOptions!