找不到模块:错误:无法解析模块

时间:2019-07-23 13:44:49

标签: angular

我从Angular 6更新到了Angular8。如果运行ng serve,则会收到此警告:

WARNING in ./node_modules/typescript/lib/typescript.js 94814:19-45
Critical dependency: the request of a dependency is an expression

WARNING in ./node_modules/source-map-support/source-map-support.js
Module not found: Error: Can't resolve 'module' in 'C:\Source\nien\vital10-frontend\node_modules\source-map-support'

1 个答案:

答案 0 :(得分:1)

  

将源地图支持版本固定为0.4.3确实可以解决该问题。

有关更多详细信息:Module not found: Error: Cannot resolve module 'module' in [...]source-map-support

相关问题