Detalles:
? Workspace name (eg, 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 12729msVersiones de herramientas
npm 7.6.1
hilo 1.22.5
nodo v15.12.0
Recibí el mismo error y lo solucioné usando el nodo v12.0 que usa npm 6, estoy bastante seguro de que el error está relacionado con npm 7.
En mi caso, presionando Ctrl + C mostró que solo había descargado algo:
... 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 .......... .......... .=> Ver el registro de tráfico de su red.
Sigue siendo un problema cuando se usa npm 8 al instalar el paquete opencv-build ahora, cambie a npm 6 mediante npm install -g npm@6 funciona.