NX根本无法在我的机器上运行

问题描述

我的团队最近正在研究nx在一个新项目中的出色功能。但是,Nx还有其他想法-只是不想与我合作-特别是-因此我的装置必须有一些特殊之处;我只是不知道什么。

冒险从nx的very basic tutorial开始,而我的问题从第一页开始。我运行了一个命令-npx create-nx-workspace@latest,该命令已成功完成。然后,我用npx nx serve todos测试了骨架应用程序,它也运行良好。

问题是,如果我尝试使用nx控制台插件(v14.0.1)在VSCode(v 1.50.1)中执行相同的serve命令,则会收到此错误

error snapshot

我最初是在本地使用nx,但我也尝试在全球范围内安装它。同样的错误。 尝试并真正重新启动VSCode和我的计算机多次也没有什么区别。网络搜索在这方面绝对没有发现任何内容。欢迎任何建议。

这是我用于此nx工作区的工作环境:

$ npm list --depth=0
[email protected] /Users/msorens/code/sandBox/nx-tutorial/myorg
├── @angular-devkit/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── UNMET PEER DEPENDENCY @angular/[email protected]
├── @angular/[email protected]
├── UNMET PEER DEPENDENCY @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/platform-bro[email protected]
├── @angular/platform-bro[email protected]
├── @angular/[email protected]
├── @nrwl/[email protected]
├── @nrwl/[email protected]
├── @nrwl/[email protected]
├── @nrwl/[email protected]
├── @nrwl/[email protected]
├── @types/[email protected]
├── @types/[email protected]
├── codelyzer@5.0.1
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── UNMET PEER DEPENDENCY [email protected]
├── [email protected]
└── [email protected]

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)