Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm ERR! gyp ERR! find Python during NPM Run Start on Apple Silicone based machines #2579

Open
hawkishpolicy opened this issue Feb 28, 2024 · 1 comment

Comments

@hawkishpolicy
Copy link
Contributor

馃悰 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:

  1. Complete dev environment for mac-based computers.
  2. Begin initial setup.
  3. 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.Screenshot 2024-02-28 at 10 01 31鈥疉M

@hawkishpolicy
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant