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
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.
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.
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.
Still a problem when using npm 8 when installing opencv-build
package now, downgrade to npm 6 by npm install -g npm@6
works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With