We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Your environment
Describe the bug when I try to run my ts project using esbuild, i get the error that it is unable to find the llvm-bindings.node file.
rishav@Rishav-SB3:~/tyll$ npm run dev > [email protected] dev > esbuild --bundle tyll.ts --format=esm --log-level=warning --platform=node --outfile=dist/compiled.js && node dist/compiled.js /home/rishav/tyll/dist/compiled.js:145 throw err; ^ Error: Could not locate the bindings file. Tried: → /home/rishav/tyll/build/llvm-bindings.node → /home/rishav/tyll/build/Debug/llvm-bindings.node → /home/rishav/tyll/build/Release/llvm-bindings.node → /home/rishav/tyll/out/Debug/llvm-bindings.node → /home/rishav/tyll/Debug/llvm-bindings.node → /home/rishav/tyll/out/Release/llvm-bindings.node → /home/rishav/tyll/Release/llvm-bindings.node → /home/rishav/tyll/build/default/llvm-bindings.node → /home/rishav/tyll/compiled/12.22.9/linux/x64/llvm-bindings.node → /home/rishav/tyll/addon-build/release/install-root/llvm-bindings.node → /home/rishav/tyll/addon-build/debug/install-root/llvm-bindings.node → /home/rishav/tyll/addon-build/default/install-root/llvm-bindings.node → /home/rishav/tyll/lib/binding/node-v72-linux-x64/llvm-bindings.node at bindings (/home/rishav/tyll/dist/compiled.js:139:13) at node_modules/llvm-bindings/index.js (/home/rishav/tyll/dist/compiled.js:199:40) at __require2 (/home/rishav/tyll/dist/compiled.js:15:50) at Object.<anonymous> (/home/rishav/tyll/dist/compiled.js:204:36) at Module._compile (internal/modules/cjs/loader.js:999:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) at Module.load (internal/modules/cjs/loader.js:863:32) at Function.Module._load (internal/modules/cjs/loader.js:708:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) at internal/main/run_main_module.js:17:47 { tries: [ '/home/rishav/tyll/build/llvm-bindings.node', '/home/rishav/tyll/build/Debug/llvm-bindings.node', '/home/rishav/tyll/build/Release/llvm-bindings.node', '/home/rishav/tyll/out/Debug/llvm-bindings.node', '/home/rishav/tyll/Debug/llvm-bindings.node', '/home/rishav/tyll/out/Release/llvm-bindings.node', '/home/rishav/tyll/Release/llvm-bindings.node', '/home/rishav/tyll/build/default/llvm-bindings.node', '/home/rishav/tyll/compiled/12.22.9/linux/x64/llvm-bindings.node', '/home/rishav/tyll/addon-build/release/install-root/llvm-bindings.node', '/home/rishav/tyll/addon-build/debug/install-root/llvm-bindings.node', '/home/rishav/tyll/addon-build/default/install-root/llvm-bindings.node', '/home/rishav/tyll/lib/binding/node-v72-linux-x64/llvm-bindings.node' ] }
Expected behavior
I would expect that the llvm-bindings.node file would be correctly fetched from its location in the npm modules.
To unblock myself, I have currently copied the file into ./Release/llvm-bindings.node path
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Your environment
Describe the bug
when I try to run my ts project using esbuild, i get the error that it is unable to find the llvm-bindings.node file.
Expected behavior
I would expect that the llvm-bindings.node file would be correctly fetched from its location in the npm modules.
To unblock myself, I have currently copied the file into ./Release/llvm-bindings.node path
The text was updated successfully, but these errors were encountered: