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 .
Top comments (0)