stop "npm install" at [..................] | idealTree:regal: sill idealTree buildDeps

Viewed 11877

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.

6 Answers

It can sometimes take a lot of time. Espicially if you aborted a prevous npm install.

I would recommend deleting your node_modules folder, and run npm install again.

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

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

Downgrade the nodejs using nvm to 16.0.0 was my great solution

I had the same issue, removing the "package-lock.json" file and fixed the issue. you can try this, you would be helpful

Solution:

  1. Uninstall your computer's Node.js and install the Node.js that is Recommended for Most Users (see screenshot): enter image description here
  1. Go to command prompt
  2. Input this: 'npm install firebase'
  3. After that, input this: 'npm install -g firebase-tools'

Step 4 is required if 'firebase login', etc. doesn't work.

Explanation:

-The current Node.js version that you have is incompatible with your computer settings.

Related