悬挂/卡住物化:更漂亮:定时reifyNode:node_modules/@nrwl/工作区在12729毫秒内完成

cbjzeqam  于 2022-12-03  发布在  Node.js
关注(0)|答案(6)|浏览(461)

详细信息:

? 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

工具版本

  • 国家预防措施7.6.1
  • Yarn1.22.5
  • 节点v15.12.0

hmtdttj4

hmtdttj41#

我得到了同样的错误,并得到了它修复使用节点v12.0使用npm 6,我很肯定的错误是链接到npm 7。

7kqas0il

7kqas0il2#

现在是2022年了,这个问题仍然存在,我之前用的是Node.js 16.x/npm 8,为了解决这个问题,我干脆降级到Node.js 14.x/npm 6。

zpjtge22

zpjtge223#

现在安装opencv-build包时使用npm 8仍然是一个问题,通过npm install -g npm@6降级到npm 6可以工作。

kmpatx3s

kmpatx3s4#

在我的例子中,按Ctrl + C显示它只下载了一些东西:

...

npm ERR!      0K .......... ..........                                 100%  149K=0.1s
npm ERR!
npm ERR! 2021-12-24 16:11:52 (149 KB/s) - ‘/tmp/install_wasmedge.sh’ saved [21372/21372]
npm ERR!
npm ERR!
npm ERR!      0K .......... .......... .......... .......... ..........  0%  196K 3m23s
npm ERR!     50K .......... .......... .......... .......... ..........  0% 77.5K 5m58s
npm ERR!    100K .......... .......... .......... .......... ..........  0%  125M 3m58s
npm ERR!    150K .......... .......... .......... .......... ..........  0%  104K 4m34s
npm ERR!    200K .......... .......... .......... .......... ..........  0%  115K 4m48s
npm ERR!    250K .......... .......... .......... .......... ..........  0% 22.7K 8m50s
npm ERR!    300K .......... .......... .......... .......... ..........  0% 42.6K 9m46s
npm ERR!    350K .......... .......... .......... .......... ..........  1% 34.1K 10m57s
npm ERR!    400K .......... .......... .......... .......... ..........  1% 30.5K 12m7s
npm ERR!    450K .......... .......... .......... .......... ..........  1% 16.5K 14m52s

...

npm ERR!  16950K .......... .......... .......... .......... .......... 42% 26.6K 21m45s
npm ERR!  17000K .......... .......... .......... .......... .......... 42% 20.5K 21m41s
npm ERR!  17050K .......... .......... .......... .......... .......... 42% 16.4K 21m39s
npm ERR!  17100K .......... .......... .......... .......... .......... 43% 14.2K 21m37s
npm ERR!  17150K .......... .......... .......... .......... .......... 43% 14.0K 21m35s
npm ERR!  17200K .......... .......... .......... .......... .......... 43% 31.7K 21m30s
npm ERR!  17250K .......... .......... .......... .......... .......... 43% 27.6K 21m26s
npm ERR!  17300K .......... .......... .......... .......... .......... 43% 25.6K 21m22s
npm ERR!  17350K .......... .......... .......... .......... .......... 43% 15.1K 21m20s
npm ERR!  17400K .......... .......... .......... .......... .......... 43% 18.9K 21m17s
npm ERR!  17450K .......... .......... .

=〉查看网络流量日志。

qni6mghb

qni6mghb5#

在我的例子中:问题出在npm 7上,我已经更改了npm的版本

sudo npm install -g npm@6

然后重新运行命令,就成功了

13z8s7eq

13z8s7eq6#

我正在使用最新版本,它也停留在lodash,比我等待几分钟,并自动修复了这个问题,使用下面的命令,只要等待几分钟,它将自动解决

相关问题