angular - 找不到模块:错误:无法解析“模块”
问题描述
我做了从 Angular 6 到 Angular 8 的更新。如果我运行,我会收到此警告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:\Soupport'
解决方案
将 source-map-support 版本确定为 0.4.3 确实可以解决问题。
推荐阅读
- postgresql - 使用其他数据库中的变量执行函数
- rest - 具有完全限定 URL 的 RESTful 服务调用
- android - 为什么我在Android模拟器中刷新代码有这么多问题
- typescript - 自定义 RxJS 过滤器运算符中的不可空类型保护
- r - 如何使用 mutate_at 和 set_value_labels 来更改多个变量的值标签?
- r - 列表到 XML 文件中的 data.frame
- python-3.x - 如何解决错误数据帧不可调用
- python - 如果图像是垂直的,如何自动旋转图像
- git - 你可以让 git apply 进行试运行吗?
- java - Spring Security 使用空的基本身份验证凭据响应空主体