crossfeed
crossfeed copied to clipboard
npm ERR! gyp ERR! find Python during NPM Run Start on Apple Silicone based machines
🐛 Summary
What's wrong? Please be specific.
It appears Apple Silicone based machines cannot find your local PYTHON installation when running APK update && APK upgrade during the Docker build.
To reproduce
Steps to reproduce the behavior:
- Complete dev environment for mac-based computers.
- Begin initial setup.
- Error occurs during NPM START
Expected behavior
What did you expect to happen that didn't? Local environment should build then you can sync and populate the db.
Any helpful log output or screenshots
Paste the results here:
Add any screenshots of the problem here.
Adding the following to Line 4 in backend/Dockerfile resolves the "npm ERR! gyp ERR! find Python" error:
&& apk add --no-cache g++ make py3-pip