Open james-elicx opened 1 year ago
This should be fixed as of Bun v1.0.3
This should be fixed as of Bun v1.0.3
Still happening in 1.0.4
oh you're doing bun x
i see
Ah I didn't know there was a difference with how bun x
and bunx
treat it. Interestingly, bunx
results in a different error.
I also get a loading error when running bun -b astro dev
. It seems like the problem occurs when invoking a subprocess which requires a '.node' file, as running bun
directly on the source file does not cause the error.
1:24:42 AM [vite] error while updating dependencies:
Error: Build failed with 2 errors:
../../node_modules/@resvg/resvg-js/js-binding.js:1:3269: ERROR: No loader is configured for ".node" files: ../../node_modules/@resvg/resvg-js-linux-x64-musl/resvgjs.linux-x64-musl.node
../../node_modules/@resvg/resvg-js/js-binding.js:1:3501: ERROR: No loader is configured for ".node" files: ../../node_modules/@resvg/resvg-js-linux-x64-gnu/resvgjs.linux-x64-gnu.node
at failureErrorWithLog (/home/brian/work/btakita/btakita-dev/node_modules/vite/node_modules/esbuild/lib/main.js:1649:17)
at <anonymous> (/home/brian/work/btakita/btakita-dev/node_modules/vite/node_modules/esbuild/lib/main.js:1058:17)
at <anonymous> (/home/brian/work/btakita/btakita-dev/node_modules/vite/node_modules/esbuild/lib/main.js:1525:9)
at processTicksAndRejections (:55:77)
What version of Bun is running?
1.0.7
What platform is your computer?
Linux 5.15.90.1-microsoft-standard-WSL2 x86_64 x86_64
What steps can reproduce the bug?
Run the following in your terminal window, using a custom registry's url instead of a package from npm.
What is the expected behavior?
It should install and execute the package from the provided web address.
When you run it with
npx
instead ofbun x
, everything works as expected - it will install and execute the package.What do you see instead?
Additional information
No response