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

[BUG] Vscode extension fails to build #3

Open
TungstnBallon opened this issue Jun 3, 2024 · 0 comments
Open

[BUG] Vscode extension fails to build #3

TungstnBallon opened this issue Jun 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@TungstnBallon
Copy link
Collaborator

Steps to reproduce

  1. checkout latest main
  2. run npm run build -- --verbose

Description

  • Expected: Building finishes without errors
  • Actual:
> nx run vs-code-extension:build:dev

✘ [ERROR] No loader is configured for ".node" files: node_modules/nodejs-polars-linux-x64-gnu/nodejs-polars.linux-x64-gnu.node

    node_modules/nodejs-polars/bin/native-polars.js:182:52:
      182 │ ...          nativeBinding = require('nodejs-polars-linux-x64-gnu');
          ╵                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

✘ [ERROR] No loader is configured for ".node" files: node_modules/nodejs-polars-linux-x64-musl/nodejs-polars.linux-x64-musl.node

    node_modules/nodejs-polars/bin/native-polars.js:168:52:
      168 │ ...         nativeBinding = require('nodejs-polars-linux-x64-musl');
          ╵                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


 >  NX   Build failed with 2 errors:

   node_modules/nodejs-polars/bin/native-polars.js:168:52: ERROR: No loader is configured for ".node" files: node_modules/nodejs-polars-linux-x64-musl/nodejs-polars.linux-x64-musl.node
   node_modules/nodejs-polars/bin/native-polars.js:182:52: ERROR: No loader is configured for ".node" files: node_modules/nodejs-polars-linux-x64-gnu/nodejs-polars.linux-x64-gnu.node

Error: Build failed with 2 errors:
node_modules/nodejs-polars/bin/native-polars.js:168:52: ERROR: No loader is configured for ".node" files: node_modules/nodejs-polars-linux-x64-musl/nodejs-polars.linux-x64-musl.node
node_modules/nodejs-polars/bin/native-polars.js:182:52: ERROR: No loader is configured for ".node" files: node_modules/nodejs-polars-linux-x64-gnu/nodejs-polars.linux-x64-gnu.node
    at failureErrorWithLog (/home/jonas/Code/uni/ss24-zeltner-columnar-data/node_modules/esbuild/lib/main.js:1651:15)
    at /home/jonas/Code/uni/ss24-zeltner-columnar-data/node_modules/esbuild/lib/main.js:1059:25
    at /home/jonas/Code/uni/ss24-zeltner-columnar-data/node_modules/esbuild/lib/main.js:1004:52
    at buildResponseToResult (/home/jonas/Code/uni/ss24-zeltner-columnar-data/node_modules/esbuild/lib/main.js:1057:7)
    at /home/jonas/Code/uni/ss24-zeltner-columnar-data/node_modules/esbuild/lib/main.js:1086:16
    at responseCallbacks.<computed> (/home/jonas/Code/uni/ss24-zeltner-columnar-data/node_modules/esbuild/lib/main.js:704:9)
    at handleIncomingPacket (/home/jonas/Code/uni/ss24-zeltner-columnar-data/node_modules/esbuild/lib/main.js:764:9)
    at Socket.readFromStdout (/home/jonas/Code/uni/ss24-zeltner-columnar-data/node_modules/esbuild/lib/main.js:680:7)
    at Socket.emit (node:events:520:28)
    at addChunk (node:internal/streams/readable:559:12)

Based on the stacktrace, it seems like esbuild is involved

@TungstnBallon TungstnBallon added the bug Something isn't working label Jun 3, 2024
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

1 participant