-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
pnpm install fails on m1 mac [Fixed with xcode-select reinstall] #1146
Comments
Have you tried |
Yea, I ran that, I've got a macos 15.2 update waiting for me, maybe that plays better with Xcode 16.2... will report back |
macos 15.2 updated, all xcode tool updates made. still same error. This discordjs/opus connects having homebrew python3.12 in your path (which I do) discordjs/opus#145 (comment) Curious what anyone else has for
|
Had to uninstall xcode-select and reinstall ¯_(ツ)_/¯
that gets us: |
I have the same issue. Have you resolved? Thanks. |
Have the same issue as well, but for node-llama-cpp on M1 macbook |
If you are coming from intel to silicon chip. one of the most common problems is porting over node and running it with rosetta. A lot of the AI packages are going to break. 1. Firstly, check if you are running a node version that's for x64 or arm... You are looking for 2. Delete and reinstall node v23 (for this repo)
GLHF |
Run the following to switch to arm64 |
I've spent the last 6 hours trying to get around this
same error with both:
pnpm install
andpnpm install -w --include=optional sharp
always using
rm -rf node_modules & rm pnpm-lock.yaml
between each try.node v23.4.0
tried downgrading to v20.x
pnpm v9.9.0
also tried
brew install opus
macOS 15.1
XCode 16.2
on:
% git status >> HEAD detached at v0.1.6-alpha.1
Potentially related to:
#1041
#215
The text was updated successfully, but these errors were encountered: