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.
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 had the same issue, removing the "package-lock.json" file and fixed the issue. you can try this, you would be helpful
You can use the following command to set it as the image source of Taobao:
npm config set registry https://registry.npm.taobao.org
Use the following command to verify success:
npm config get registry
Continue running:
npm install
will show successful installation