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βll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors yarn installing on an M2 Macbook Pro #2680
Comments
I tested this on my M1 with Monterey and got similar results. The python thing seems to be because macOS dropped python from the OS and so it's not in PATH anymore. I have a brew installed Python 3, but it only comes onto path as python3, so I was able to fix the second error with:
The other errors I've been able to fix by installing the libraries that the logs tell me are missing, which required I'm also running Node 16 versus 18; your logs seem to imply that there's a compiler error related to v8 headers which are Node specific. Maybe try downgrading to Node 16? |
The website currently requires Node 14 (we have a Volta entry in the package.json) until we do something about #2473 |
That worked, thanks! export PATH="/opt/homebrew/opt/python/libexec/bin:$PATH"
nvm use 14 |
Should be fixed now ππ» |
Posting from #2676 (comment) as requested by @andrewbranch - thanks for looking into these errors! π
Copying the last few lines of running
yarn
locally:/private/var/folders/1_/pn8_jg_93cqdnkyswmmr5sxm0000gn/T/xfs-2898ede3/build.log (canvas@npm:2.6.1)
/private/var/folders/1_/pn8_jg_93cqdnkyswmmr5sxm0000gn/T/xfs-5a1931c9/build.log (sharp@npm:0.28.1)
The text was updated successfully, but these errors were encountered: