Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hanging/stuck reify:prettier: timing reifyNode:node_modules/@nrwl/workspace Completed in 12729ms

Details:

? 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

Tools versions

  • npm 7.6.1

  • yarn 1.22.5

  • node v15.12.0

enter image description here

like image 310
Stackoverfall Avatar asked Mar 31 '21 18:03

Stackoverfall


People also ask

What is reify in NPM?

As this clojure site states, "we use reify to create an instance of an object honoring a specific protocol (or Java interface)". So it probably means to create a concrete object at runtime that will be used as the dependency.

Why NPM install hang?

Even though the previously installed packages are cached, npm will still connect to the registry using your network connection when there are dependencies not found in the cache. If you are offline, then the installation could hang in the middle of the process.


2 Answers

I got the same error and got it fixed by using node v12.0 which uses npm 6, I am pretty sure the error is linked to npm 7.

like image 95
Álvaro Avatar answered Sep 20 '22 15:09

Álvaro


Still a problem when using npm 8 when installing opencv-build package now, downgrade to npm 6 by npm install -g npm@6 works.

like image 33
moontai0724 Avatar answered Sep 22 '22 15:09

moontai0724