如何解决挂起/卡住 reify:prettier: 定时 reifyNode:node_modules/@nrwl/workspace 12729ms 完成
详情:
? Workspace name (e.g.,org name) swag
? What to create in the new workspace angular-nest [a workspace with a full stack application (Angular + nest)]
? Application name swag
? Default stylesheet format SASS(.scss) [ http://sass-lang.com ]
? Default linter ESLint [ Modern linting tool ]
? Use Nx Cloud? (It's free and doesn't require registration.) No
> NX Nx is creating your workspace.
To make sure the command works reliably in all environments,and that the preset is applied correctly,Nx will run "npm install" several times. Please wait.
[.....................] \ reify:prettier: timing reifyNode:node_modules/@nrwl/workspace Completed in 12729ms
工具版本
-
npm 7.6.1
-
纱线 1.22.5
-
节点 v15.12.0
解决方法
我遇到了同样的错误,并通过使用使用 npm 6 的 node v12.0 修复了它,我很确定该错误与 npm 7 相关联。
,删除您的 node_modules 文件夹和 package-lock.json 文件。删除后,再次运行yarn或npm install
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。