When I try to install the project dependencies with npm I get this error:
Anyone could help me ?
Can you provide a sample package.json
? It seems to be a issue with make. What you can do in the mean time you could try deleting the package-lock.json
and then do a npm install
. See if that fixes the issue.
If it threw that error from 1st time running npm install
that's probably not the issue.
One other thing you could try is to make sure you have the build tools installed on your macOS.
xcode-select --install
EDIT:
rm -rf ~/LibraryCaches/node-gyp
rm package-lock.json && rm -rf node_modules && rm -rf ~/.node-gyp
npm install
You can also check these steps to further debug your issue.
Hope it helps.