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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run pnpm install --no-frozen-lockfile on v0.1.6-alpha.4 #1167

Closed
qizhou opened this issue Dec 17, 2024 · 9 comments
Closed

Unable to run pnpm install --no-frozen-lockfile on v0.1.6-alpha.4 #1167

qizhou opened this issue Dec 17, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@qizhou
Copy link

qizhou commented Dec 17, 2024

Describe the bug

I found the following error on a fresh checkout:

# set variable identifying the chroot you work in (used in the prompt below)
# set a fancy prompt (non-color, unless we know we "want" color)
│ (Use `node --trace-deprecation ...` to show where the warning was created)
│ node-pre-gyp info check checked for "/root/github/eliza/node_modules/@discordjs/opus/prebuild/node-v131-napi-v3-linux-x64-glibc-2.39/opus.node" (not found)
│ node-pre-gyp http GET https://github.com/discordjs/opus/releases/download/v0.9.0/opus-v0.9.0-node-v131-napi-v3-linux-x64-glibc-2.39.tar.gz
│ node-pre-gyp ERR! install response status 404 Not Found on https://github.com/discordjs/opus/releases/download/v0.9.0/opus-v0.9.0-node-v131-napi-v3-linux-x64-glibc-2.39.tar.gz
│ node-pre-gyp WARN Pre-built binaries not installable for @discordjs/opus@0.9.0 and node@23.4.0 (node-v131 ABI, glibc) (falling back to source compile with node-gyp)
│ node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/discordjs/opus/releases/download/v0.9.0/opus-v0.9.0-node-v131-napi-v3-linux-x64-glibc-2.39.tar.gz
│ gyp info it worked if it ends with ok
│ gyp info using node-gyp@10.3.1
│ gyp info using node@23.4.0 | linux | x64
│ gyp info ok

To Reproduce

Expected behavior

Screenshots

Additional context

@qizhou qizhou added the bug Something isn't working label Dec 17, 2024
@ateett12ue
Copy link

I faced the same issue while installing Discord dependencies. Then, I updated my Pnpm version to the latest, and it worked for me.

@nhtera
Copy link

nhtera commented Dec 17, 2024

I faced the same issue while installing Discord dependencies. Then, I updated my Pnpm version to the latest, and it worked for me.

What pnpm version you are using?

@ateett12ue
Copy link

v9.15.0

@hhq365
Copy link

hhq365 commented Dec 18, 2024

same issue, with pnpm v9.15.0

@SkyYap
Copy link

SkyYap commented Dec 18, 2024

I am using pnpm v9.15.0 too. face the same issue.

@laurynas301
Copy link

Same issue

@nhtera
Copy link

nhtera commented Dec 19, 2024

I tried setting the CC and CXX environment variables with these values, and reinstall xcode command tool. It worked. I am using Macbook Air M2. Check my screenshot.

Setting env

export CC=clang
export CXX=clang++

Reinstall xcode command tools

sudo rm -rf /Library/Developer/CommandLineTools
xcode-select --install

If you’ve already installed Xcode, ensure it’s properly set up

sudo xcode-select --switch /Applications/Xcode.app
sudo xcodebuild -runFirstLaunch

I am using node v23.3.0, pnpm v9.14.4.

CleanShot 2024-12-19 at 18 13 35@2x

@joaosantos15
Copy link

@nhtera 's steps worked for me. Thanks! 🤩

@shakkernerd
Copy link
Member

Thanks @nhtera !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants