错误:找不到模块'@nrwl/workspace/src/utilities/perf

编程入门 行业动态 更新时间:2024-10-03 06:37:58

错误:<a href=https://www.elefans.com/category/jswz/34/1771416.html style=找不到模块'@nrwl/workspace/src/utilities/perf"/>

错误:找不到模块'@nrwl/workspace/src/utilities/perf

我已经尝试运行 nxMonrepo 的 Angular 项目并且我已经安装了所有 node_modules 并且当我尝试运行 PS C:\Users\Dell\Desktop\MEANAPP\EAAPP> nx migrate --run-migrations 时它没有显示任何错误

Error: Cannot find module '@nrwl/workspace/src/utilities/perf-logging'
Require stack:
- C:\Users\Dell\Desktop\MEANAPP\EAAPP\node_modules\@nrwl\cli\lib\init-local.js
- C:\Users\Dell\Desktop\MEANAPP\EAAPP\node_modules\@nrwl\cli\bin\nx.js
- C:\Users\Dell\AppData\Roaming\npm\node_modules\nx\bin\nx.js
  
回答如下:

仔细检查

@nrwl/cli
(现在
@nx/cli
)版本是否与
@nrwl/workspace
(现在
@nx/workspace
)相同-安装相同版本解决了类似的问题。 来源

更多推荐

错误:找不到模块'@nrwl/workspace/src/utilities/perf

本文发布于:2024-05-31 04:42:34,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1771286.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:找不到   模块   错误   nrwl   src

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!