Open titsex opened 4 months ago
A few more details.
Download link @discordjs/opus from the ban error: https://github.com/discordjs/opus/releases/download/v0.9.0/opus-v0.9.0-node-v120-napi-v3-win32-x64-unknown-unknown.tar.gz
Download link from the @discordjs/opus repository, from the latest release: https://github.com/discordjs/opus/releases/download/v0.9.0/opus-v0.9.0-node-v102-napi-v3-win32-x64-unknown-unknown.tar.gz
As we can see, for some reason the ban was confused trying to download v120 instead of v102.
Moreover, v120 is not even in the releases)
A similar issue occurs with @sapphire/type
:
error: Cannot find module "Z:\bun-type-test\node_modules\@sapphire\type\prebuild\type-node-v127-win32-x64-unknown-unknown\type.node" from "Z:\bun-type-test\node_modules\@sapphire\type\dist\esm\index.mjs"
Where only a type-node-v115-win32-x64-unknown-unknown
exists.
What version of Bun is running?
1.1.20
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What steps can reproduce the bug?
bun add @discordjs/opus
or
bun add @discordjs/opus --trust
What is the expected behavior?
What do you see instead?
Additional information
I tried adding @discordjs/opus to the list of trusted packages - the problem is the same (https://bun.sh/guides/install/trusted)
Also, if you install this package via npm, yarn or pnpm, postinstall is successful.