when I try to run
npm install
it stop at this error
[..................] | idealTree:regal: sill idealTree buildDeps
I have tried for fix it for a long time and I tried several ways but it was not work. PLZ help me if you are informed.
I was able to resolve the same issue by setting the correct registry with:
npm config set registry http://registry.npmjs.org/
Perhaps you set a different registry some time ago and forgot about it? This is what happened in my case
I installed the lates node version using nvm install node. Trying to install any package e.g. npm install --global yarn failed the same way you describe.
For me, downgrading node (in my case to v16.2.0) did the trick.
Using a MacBook Pro with M1 chip running macOS 12.2.1
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