npm install stuck on idealtree builddeps on mac

RMAG news

I was using MacBook Air M2 and I was installing the packages using

npm install

However , it got stuck illustrating

dealTree:social-app: sill idealTree buildDeps
and took me sometime to figure out the solution here .

What I did is I downgraded the node version . In my case I downgraded it to v16.2.0.

I opened the terminal and applied this

npm install -g n
sudo n 10.16.0

After this , I went to the project path on terminal and added

npm install

Now it works as expected .

Leave a Reply

Your email address will not be published. Required fields are marked *