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

Can't build Playground - sh -c npm run build fails #4974

Closed
2 tasks done
richb-hanover opened this issue Oct 19, 2024 · 6 comments
Closed
2 tasks done

Can't build Playground - sh -c npm run build fails #4974

richb-hanover opened this issue Oct 19, 2024 · 6 comments
Labels
bug Invalid compiler output or panic

Comments

@richb-hanover
Copy link
Contributor

richb-hanover commented Oct 19, 2024

What happened?

Attempting to build Playground on M2 Mac in the Dev Container. Commit is 86becc5

When I run task web:run-playground I see the error below.

What other diagnostic info could I provide? Thanks.

PRQL input

N/A

SQL output

N/A

Expected SQL output

N/A

MVCE confirmation

  • Minimal example
  • New issue

Anything else?

vscode ➜ /workspaces/prql (main) $ task web:run-playground
task: [web:build-playground-dependencies] npm ci
npm error code 1
npm error path /workspaces/prql/prqlc/bindings/js
npm error command failed
npm error command sh -c npm run build
npm error > [email protected] build
npm error > npm run build:node && npm run build:web && npm run build:bundler
npm error
npm error
npm error > [email protected] build:node
npm error > npx cross-env wasm-pack build --target nodejs --out-dir dist/node --${PROFILE} && rm dist/node/.gitignore
npm error node:events:497
npm error       throw er; // Unhandled 'error' event
npm error       ^
npm error
npm error Error: spawn wasm-pack ENOENT
npm error     at ChildProcess._handle.onexit (node:internal/child_process:286:19)
npm error     at onErrorNT (node:internal/child_process:484:16)
npm error     at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
npm error Emitted 'error' event on ChildProcess instance at:
npm error     at ChildProcess._handle.onexit (node:internal/child_process:292:12)
npm error     at onErrorNT (node:internal/child_process:484:16)
npm error     at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
npm error   errno: -2,
npm error   code: 'ENOENT',
npm error   syscall: 'spawn wasm-pack',
npm error   path: 'wasm-pack',
npm error   spawnargs: [ 'build', '--target', 'nodejs', '--out-dir', 'dist/node', '--dev' ]
npm error }
npm error
npm error Node.js v20.18.0
npm error A complete log of this run can be found in: /home/vscode/.npm/_logs/2024-10-19T22_57_39_755Z-debug-0.log
task: Failed to run task "web:run-playground": exit status 1
vscode ➜ /workspaces/prql (main) $ 
@richb-hanover richb-hanover added the bug Invalid compiler output or panic label Oct 19, 2024
@max-sixty
Copy link
Member

Interesting, I haven't seen this before. Does the full log at /home/vscode/.npm/_logs/2024-10-19T22_57_39_755Z-debug-0.log have anything interesting?

Does running whatever inner command is run based on spawnargs: [ 'build', '--target', 'nodejs', '--out-dir', 'dist/node', '--dev' ] show anything?

@richb-hanover
Copy link
Contributor Author

Here's where it stops:

(Again, I apologize that I don't know much about the node compilation environment for prqlc. I'm happy to provide more info as needed...)

vscode ➜ .../prql/prqlc/bindings/js (freeze-at-86becc59) $ cd /workspaces/prql/prqlc/bindings/js


vscode ➜ .../prql/prqlc/bindings/js (freeze-at-86becc59) $ npm run build:node

> [email protected] build:node
> npx cross-env wasm-pack build --target nodejs --out-dir dist/node --${PROFILE} && rm dist/node/.gitignore

node:events:497
      throw er; // Unhandled 'error' event
      ^

Error: spawn wasm-pack ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:286:19)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Emitted 'error' event on ChildProcess instance at:
    at ChildProcess._handle.onexit (node:internal/child_process:292:12)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'spawn wasm-pack',
  path: 'wasm-pack',
  spawnargs: [ 'build', '--target', 'nodejs', '--out-dir', 'dist/node', '--' ]
}

Node.js v20.18.0
vscode ➜ .../prql/prqlc/bindings/js (freeze-at-86becc59) $ 

@richb-hanover
Copy link
Contributor Author

@max-sixty @eitsupi Sorry for the delayed response. Same error with a slighly newer commit... I included the entire log file.

vscode ➜ /workspaces/prql (main) $ git log
commit 9206f53d5b3dc8382e1724cf0b249d86b6cc981a (HEAD -> main, upstream/main, origin/main, origin/HEAD)
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Oct 28 18:37:14 2024 +0000

vscode ➜ /workspaces/prql (main) $ task web:run-playground
task: [web:build-playground-dependencies] npm ci
npm error code 1
npm error path /workspaces/prql/prqlc/bindings/js
npm error command failed
npm error command sh -c npm run build
npm error > [email protected] build
npm error > npm run build:node && npm run build:web && npm run build:bundler
npm error
npm error
npm error > [email protected] build:node
npm error > npx cross-env wasm-pack build --target nodejs --out-dir dist/node --${PROFILE} && rm dist/node/.gitignore
npm error node:events:497
npm error       throw er; // Unhandled 'error' event
npm error       ^
npm error
npm error Error: spawn wasm-pack ENOENT
npm error     at ChildProcess._handle.onexit (node:internal/child_process:286:19)
npm error     at onErrorNT (node:internal/child_process:484:16)
npm error     at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
npm error Emitted 'error' event on ChildProcess instance at:
npm error     at ChildProcess._handle.onexit (node:internal/child_process:292:12)
npm error     at onErrorNT (node:internal/child_process:484:16)
npm error     at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
npm error   errno: -2,
npm error   code: 'ENOENT',
npm error   syscall: 'spawn wasm-pack',
npm error   path: 'wasm-pack',
npm error   spawnargs: [ 'build', '--target', 'nodejs', '--out-dir', 'dist/node', '--dev' ]
npm error }
npm error
npm error Node.js v20.18.0
npm error A complete log of this run can be found in: /home/vscode/.npm/_logs/2024-10-31T13_13_08_933Z-debug-0.log
task: Failed to run task "web:run-playground": exit status 1

vscode ➜ /workspaces/prql (main) $ cat  /home/vscode/.npm/_logs/2024-10-31T13_13_08_933Z-debug-0.log
0 verbose cli /usr/local/share/nvm/versions/node/v20.18.0/bin/node /usr/local/share/nvm/versions/node/v20.18.0/bin/npm
1 info using [email protected]
2 info using [email protected]
3 silly config load:file:/usr/local/share/nvm/versions/node/v20.18.0/lib/node_modules/npm/npmrc
4 silly config load:file:/workspaces/prql/web/playground/.npmrc
5 silly config load:file:/home/vscode/.npmrc
6 silly config load:file:/usr/local/share/nvm/versions/node/v20.18.0/etc/npmrc
7 verbose title npm ci
8 verbose argv "ci"
9 verbose logfile logs-max:10 dir:/home/vscode/.npm/_logs/2024-10-31T13_13_08_933Z-
10 verbose logfile /home/vscode/.npm/_logs/2024-10-31T13_13_08_933Z-debug-0.log
11 silly packumentCache heap:2197815296 maxSize:549453824 maxEntrySize:274726912
12 silly logfile start cleaning logs, removing 1 files
13 silly logfile done cleaning log files
14 silly idealTree buildDeps
15 silly reify moves {}
16 silly audit bulk request {
16 silly audit   prqlc: [ '0.13.3' ],
16 silly audit   '@adobe/css-tools': [ '4.4.0' ],
16 silly audit   '@ampproject/remapping': [ '2.2.0' ],
16 silly audit   '@babel/code-frame': [ '7.24.2' ],
16 silly audit   '@babel/compat-data': [ '7.24.4' ],
16 silly audit   '@babel/core': [ '7.24.5' ],
16 silly audit   'convert-source-map': [ '2.0.0' ],
16 silly audit   debug: [ '4.3.4', '3.2.7' ],
16 silly audit   ms: [ '2.1.2', '2.1.3' ],
16 silly audit   semver: [ '6.3.1', '5.7.2' ],
16 silly audit   '@babel/generator': [ '7.24.5' ],
16 silly audit   '@jridgewell/gen-mapping': [ '0.3.5', '0.1.1', '0.3.2' ],
16 silly audit   '@babel/helper-annotate-as-pure': [ '7.22.5' ],
16 silly audit   '@babel/helper-compilation-targets': [ '7.23.6' ],
16 silly audit   'lru-cache': [ '5.1.1' ],
16 silly audit   yallist: [ '3.1.1' ],
16 silly audit   '@babel/helper-create-class-features-plugin': [ '7.22.5' ],
16 silly audit   '@babel/helper-environment-visitor': [ '7.22.20' ],
16 silly audit   '@babel/helper-function-name': [ '7.23.0' ],
16 silly audit   '@babel/helper-hoist-variables': [ '7.22.5' ],
16 silly audit   '@babel/helper-member-expression-to-functions': [ '7.22.5' ],
16 silly audit   '@babel/helper-module-imports': [ '7.24.3' ],
16 silly audit   '@babel/helper-module-transforms': [ '7.24.5' ],
16 silly audit   '@babel/helper-optimise-call-expression': [ '7.22.5' ],
16 silly audit   '@babel/helper-plugin-utils': [ '7.24.5' ],
16 silly audit   '@babel/helper-replace-supers': [ '7.22.5' ],
16 silly audit   '@babel/helper-simple-access': [ '7.24.5' ],
16 silly audit   '@babel/helper-skip-transparent-expression-wrappers': [ '7.22.5' ],
16 silly audit   '@babel/helper-split-export-declaration': [ '7.24.5' ],
16 silly audit   '@babel/helper-string-parser': [ '7.24.1' ],
16 silly audit   '@babel/helper-validator-identifier': [ '7.24.5' ],
16 silly audit   '@babel/helper-validator-option': [ '7.23.5' ],
16 silly audit   '@babel/helpers': [ '7.24.5' ],
16 silly audit   '@babel/highlight': [ '7.24.5' ],
16 silly audit   'ansi-styles': [ '3.2.1', '4.3.0', '5.2.0' ],
16 silly audit   chalk: [ '2.4.2', '3.0.0', '4.1.2' ],
16 silly audit   'color-convert': [ '1.9.3', '2.0.1' ],
16 silly audit   'color-name': [ '1.1.3', '1.1.4' ],
16 silly audit   'escape-string-regexp': [ '1.0.5' ],
16 silly audit   'has-flag': [ '3.0.0', '4.0.0' ],
16 silly audit   'supports-color': [ '5.5.0', '7.2.0' ],
16 silly audit   '@babel/parser': [ '7.24.5' ],
16 silly audit   '@babel/plugin-proposal-private-property-in-object': [ '7.21.11' ],
16 silly audit   '@babel/plugin-syntax-private-property-in-object': [ '7.14.5' ],
16 silly audit   '@babel/plugin-transform-react-jsx-self': [ '7.24.5' ],
16 silly audit   '@babel/plugin-transform-react-jsx-source': [ '7.24.1' ],
16 silly audit   '@babel/runtime': [ '7.19.0' ],
16 silly audit   '@babel/template': [ '7.24.0' ],
16 silly audit   '@babel/traverse': [ '7.24.5' ],
16 silly audit   '@babel/types': [ '7.24.5' ],
16 silly audit   '@duckdb/duckdb-wasm': [ '1.29.0' ],
16 silly audit   '@esbuild/aix-ppc64': [ '0.21.5' ],
16 silly audit   '@esbuild/android-arm': [ '0.21.5' ],
16 silly audit   '@esbuild/android-arm64': [ '0.21.5' ],
16 silly audit   '@esbuild/android-x64': [ '0.21.5' ],
16 silly audit   '@esbuild/darwin-arm64': [ '0.21.5' ],
16 silly audit   '@esbuild/darwin-x64': [ '0.21.5' ],
16 silly audit   '@esbuild/freebsd-arm64': [ '0.21.5' ],
16 silly audit   '@esbuild/freebsd-x64': [ '0.21.5' ],
16 silly audit   '@esbuild/linux-arm': [ '0.21.5' ],
16 silly audit   '@esbuild/linux-arm64': [ '0.21.5' ],
16 silly audit   '@esbuild/linux-ia32': [ '0.21.5' ],
16 silly audit   '@esbuild/linux-loong64': [ '0.21.5' ],
16 silly audit   '@esbuild/linux-mips64el': [ '0.21.5' ],
16 silly audit   '@esbuild/linux-ppc64': [ '0.21.5' ],
16 silly audit   '@esbuild/linux-riscv64': [ '0.21.5' ],
16 silly audit   '@esbuild/linux-s390x': [ '0.21.5' ],
16 silly audit   '@esbuild/linux-x64': [ '0.21.5' ],
16 silly audit   '@esbuild/netbsd-x64': [ '0.21.5' ],
16 silly audit   '@esbuild/openbsd-x64': [ '0.21.5' ],
16 silly audit   '@esbuild/sunos-x64': [ '0.21.5' ],
16 silly audit   '@esbuild/win32-arm64': [ '0.21.5' ],
16 silly audit   '@esbuild/win32-ia32': [ '0.21.5' ],
16 silly audit   '@esbuild/win32-x64': [ '0.21.5' ],
16 silly audit   '@jridgewell/resolve-uri': [ '3.1.0' ],
16 silly audit   '@jridgewell/set-array': [ '1.2.1' ],
16 silly audit   '@jridgewell/source-map': [ '0.3.2' ],
16 silly audit   '@jridgewell/sourcemap-codec': [ '1.4.14' ],
16 silly audit   '@jridgewell/trace-mapping': [ '0.3.25' ],
16 silly audit   '@monaco-editor/loader': [ '1.4.0' ],
16 silly audit   '@monaco-editor/react': [ '4.6.0' ],
16 silly audit   '@rollup/rollup-android-arm-eabi': [ '4.22.4' ],
16 silly audit   '@rollup/rollup-android-arm64': [ '4.22.4' ],
16 silly audit   '@rollup/rollup-darwin-arm64': [ '4.22.4' ],
16 silly audit   '@rollup/rollup-darwin-x64': [ '4.22.4' ],
16 silly audit   '@rollup/rollup-linux-arm-gnueabihf': [ '4.22.4' ],
16 silly audit   '@rollup/rollup-linux-arm-musleabihf': [ '4.22.4' ],
16 silly audit   '@rollup/rollup-linux-arm64-gnu': [ '4.22.4' ],
16 silly audit   '@rollup/rollup-linux-arm64-musl': [ '4.22.4' ],
16 silly audit   '@rollup/rollup-linux-powerpc64le-gnu': [ '4.22.4' ],
16 silly audit   '@rollup/rollup-linux-riscv64-gnu': [ '4.22.4' ],
16 silly audit   '@rollup/rollup-linux-s390x-gnu': [ '4.22.4' ],
16 silly audit   '@rollup/rollup-linux-x64-gnu': [ '4.22.4' ],
16 silly audit   '@rollup/rollup-linux-x64-musl': [ '4.22.4' ],
16 silly audit   '@rollup/rollup-win32-arm64-msvc': [ '4.22.4' ],
16 silly audit   '@rollup/rollup-win32-ia32-msvc': [ '4.22.4' ],
16 silly audit   '@rollup/rollup-win32-x64-msvc': [ '4.22.4' ],
16 silly audit   '@swc/helpers': [ '0.5.13' ],
16 silly audit   '@testing-library/dom': [ '10.0.0' ],
16 silly audit   '@testing-library/jest-dom': [ '6.6.0' ],
16 silly audit   'dom-accessibility-api': [ '0.6.3', '0.5.14' ],
16 silly audit   '@testing-library/react': [ '16.0.0' ],
16 silly audit   '@testing-library/user-event': [ '14.5.0' ],
16 silly audit   '@types/aria-query': [ '5.0.1' ],
16 silly audit   '@types/babel__core': [ '7.20.5' ],
16 silly audit   '@types/babel__generator': [ '7.6.4' ],
16 silly audit   '@types/babel__template': [ '7.4.1' ],
16 silly audit   '@types/babel__traverse': [ '7.18.2' ],
16 silly audit   '@types/command-line-args': [ '5.2.3' ],
16 silly audit   '@types/command-line-usage': [ '5.0.4' ],
16 silly audit   '@types/estree': [ '1.0.5' ],
16 silly audit   '@types/hast': [ '2.3.5' ],
16 silly audit   '@types/node': [ '20.16.10' ],
16 silly audit   '@types/prop-types': [ '15.7.5' ],
16 silly audit   '@types/react': [ '18.0.21' ],
16 silly audit   '@types/react-dom': [ '18.0.6' ],
16 silly audit   '@types/scheduler': [ '0.16.2' ],
16 silly audit   '@types/unist': [ '2.0.8' ],
16 silly audit   '@vitejs/plugin-react': [ '4.3.0' ],
16 silly audit   acorn: [ '8.8.0' ],
16 silly audit   'ansi-regex': [ '5.0.1' ],
16 silly audit   'apache-arrow': [ '17.0.0' ],
16 silly audit   'aria-query': [ '5.3.0' ],
16 silly audit   'array-back': [ '3.1.0', '6.2.2' ],
16 silly audit   browserslist: [ '4.23.0' ],
16 silly audit   'buffer-from': [ '1.1.2' ],
16 silly audit   'caniuse-lite': [ '1.0.30001621' ],
16 silly audit   'chalk-template': [ '0.4.0' ],
16 silly audit   'character-entities': [ '1.2.4' ],
16 silly audit   'character-entities-legacy': [ '1.1.4' ],
16 silly audit   'character-reference-invalid': [ '1.1.4' ],
16 silly audit   'comma-separated-tokens': [ '1.0.8' ],
16 silly audit   'command-line-args': [ '5.2.1' ],
16 silly audit   'command-line-usage': [ '7.0.3' ],
16 silly audit   typical: [ '7.2.0', '4.0.0' ],
16 silly audit   'copy-anything': [ '2.0.6' ],
16 silly audit   'css.escape': [ '1.5.1' ],
16 silly audit   csstype: [ '3.1.1' ],
16 silly audit   dequal: [ '2.0.3' ],
16 silly audit   'electron-to-chromium': [ '1.4.779' ],
16 silly audit   errno: [ '0.1.8' ],
16 silly audit   esbuild: [ '0.21.5' ],
16 silly audit   escalade: [ '3.1.2' ],
16 silly audit   fault: [ '1.0.4' ],
16 silly audit   'find-replace': [ '3.0.0' ],
16 silly audit   flatbuffers: [ '24.3.25' ],
16 silly audit   format: [ '0.2.2' ],
16 silly audit   fsevents: [ '2.3.3' ],
16 silly audit   gensync: [ '1.0.0-beta.2' ],
16 silly audit   globals: [ '11.12.0' ],
16 silly audit   'graceful-fs': [ '4.2.10' ],
16 silly audit   'hast-util-parse-selector': [ '2.2.5' ],
16 silly audit   hastscript: [ '6.0.0' ],
16 silly audit   'highlight.js': [ '10.7.3' ],
16 silly audit   'highlightjs-vue': [ '1.0.0' ],
16 silly audit   'iconv-lite': [ '0.6.3' ],
16 silly audit   'image-size': [ '0.5.5' ],
16 silly audit   'indent-string': [ '4.0.0' ],
16 silly audit   'is-alphabetical': [ '1.0.4' ],
16 silly audit   'is-alphanumerical': [ '1.0.4' ],
16 silly audit   'is-decimal': [ '1.0.4' ],
16 silly audit   'is-hexadecimal': [ '1.0.4' ],
16 silly audit   'is-what': [ '3.14.1' ],
16 silly audit   'js-tokens': [ '4.0.0' ],
16 silly audit   jsesc: [ '2.5.2' ],
16 silly audit   'json-bignum': [ '0.0.3' ],
16 silly audit   json5: [ '2.2.3' ],
16 silly audit   less: [ '4.1.3' ],
16 silly audit   'make-dir': [ '2.1.0' ],
16 silly audit   pify: [ '4.0.1' ],
16 silly audit   'source-map': [ '0.6.1' ],
16 silly audit   lodash: [ '4.17.21' ],
16 silly audit   'lodash.camelcase': [ '4.3.0' ],
16 silly audit   'loose-envify': [ '1.4.0' ],
16 silly audit   lowlight: [ '1.20.0' ],
16 silly audit   'lz-string': [ '1.5.0' ],
16 silly audit   mime: [ '1.6.0' ],
16 silly audit   'min-indent': [ '1.0.1' ],
16 silly audit   'monaco-editor': [ '0.52.0' ],
16 silly audit   nanoid: [ '3.3.7' ],
16 silly audit   needle: [ '3.1.0' ],
16 silly audit   'node-releases': [ '2.0.14' ],
16 silly audit   'parse-entities': [ '2.0.0' ],
16 silly audit   'parse-node-version': [ '1.0.1' ],
16 silly audit   picocolors: [ '1.1.0' ],
16 silly audit   postcss: [ '8.4.47' ],
16 silly audit   'pretty-format': [ '27.5.1' ],
16 silly audit   prismjs: [ '1.29.0', '1.27.0' ],
16 silly audit   'property-information': [ '5.6.0' ],
16 silly audit   prr: [ '1.0.1' ],
16 silly audit   react: [ '18.3.0' ],
16 silly audit   'react-dom': [ '18.3.0' ],
16 silly audit   'react-is': [ '17.0.2' ],
16 silly audit   'react-refresh': [ '0.14.2' ],
16 silly audit   'react-syntax-highlighter': [ '15.6.1' ],
16 silly audit   redent: [ '3.0.0' ],
16 silly audit   refractor: [ '3.6.0' ],
16 silly audit   'regenerator-runtime': [ '0.13.9' ],
16 silly audit   rollup: [ '4.22.4' ],
16 silly audit   'safer-buffer': [ '2.1.2' ],
16 silly audit   sax: [ '1.2.4' ],
16 silly audit   scheduler: [ '0.23.1' ],
16 silly audit   'source-map-js': [ '1.2.1' ],
16 silly audit   'source-map-support': [ '0.5.21' ],
16 silly audit   'space-separated-tokens': [ '1.1.5' ],
16 silly audit   'state-local': [ '1.0.7' ],
16 silly audit   'strip-indent': [ '3.0.0' ],
16 silly audit   'table-layout': [ '4.1.1' ],
16 silly audit   terser: [ '5.15.1' ],
16 silly audit   commander: [ '2.20.3' ],
16 silly audit   'to-fast-properties': [ '2.0.0' ],
16 silly audit   tslib: [ '2.6.2' ],
16 silly audit   'undici-types': [ '6.19.8' ],
16 silly audit   'update-browserslist-db': [ '1.0.16' ],
16 silly audit   vite: [ '5.4.6' ],
16 silly audit   'vite-plugin-wasm': [ '3.3.0' ],
16 silly audit   'web-vitals': [ '4.2.0' ],
16 silly audit   wordwrapjs: [ '5.1.0' ],
16 silly audit   xtend: [ '4.0.2' ],
16 silly audit   yaml: [ '2.6.0' ]
16 silly audit }
17 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/fsevents
18 silly reify mark deleted [ '/workspaces/prql/web/playground/node_modules/fsevents' ]
19 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@rollup/rollup-win32-x64-msvc
20 silly reify mark deleted [
20 silly reify   '/workspaces/prql/web/playground/node_modules/@rollup/rollup-win32-x64-msvc'
20 silly reify ]
21 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@rollup/rollup-win32-ia32-msvc
22 silly reify mark deleted [
22 silly reify   '/workspaces/prql/web/playground/node_modules/@rollup/rollup-win32-ia32-msvc'
22 silly reify ]
23 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@rollup/rollup-win32-arm64-msvc
24 silly reify mark deleted [
24 silly reify   '/workspaces/prql/web/playground/node_modules/@rollup/rollup-win32-arm64-msvc'
24 silly reify ]
25 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@rollup/rollup-linux-x64-musl
26 silly reify mark deleted [
26 silly reify   '/workspaces/prql/web/playground/node_modules/@rollup/rollup-linux-x64-musl'
26 silly reify ]
27 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@rollup/rollup-linux-x64-gnu
28 silly reify mark deleted [
28 silly reify   '/workspaces/prql/web/playground/node_modules/@rollup/rollup-linux-x64-gnu'
28 silly reify ]
29 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@rollup/rollup-linux-s390x-gnu
30 silly reify mark deleted [
30 silly reify   '/workspaces/prql/web/playground/node_modules/@rollup/rollup-linux-s390x-gnu'
30 silly reify ]
31 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@rollup/rollup-linux-riscv64-gnu
32 silly reify mark deleted [
32 silly reify   '/workspaces/prql/web/playground/node_modules/@rollup/rollup-linux-riscv64-gnu'
32 silly reify ]
33 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@rollup/rollup-linux-powerpc64le-gnu
34 silly reify mark deleted [
34 silly reify   '/workspaces/prql/web/playground/node_modules/@rollup/rollup-linux-powerpc64le-gnu'
34 silly reify ]
35 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@rollup/rollup-linux-arm-musleabihf
36 silly reify mark deleted [
36 silly reify   '/workspaces/prql/web/playground/node_modules/@rollup/rollup-linux-arm-musleabihf'
36 silly reify ]
37 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@rollup/rollup-linux-arm-gnueabihf
38 silly reify mark deleted [
38 silly reify   '/workspaces/prql/web/playground/node_modules/@rollup/rollup-linux-arm-gnueabihf'
38 silly reify ]
39 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@rollup/rollup-darwin-x64
40 silly reify mark deleted [
40 silly reify   '/workspaces/prql/web/playground/node_modules/@rollup/rollup-darwin-x64'
40 silly reify ]
41 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@rollup/rollup-darwin-arm64
42 silly reify mark deleted [
42 silly reify   '/workspaces/prql/web/playground/node_modules/@rollup/rollup-darwin-arm64'
42 silly reify ]
43 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@rollup/rollup-android-arm64
44 silly reify mark deleted [
44 silly reify   '/workspaces/prql/web/playground/node_modules/@rollup/rollup-android-arm64'
44 silly reify ]
45 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@rollup/rollup-android-arm-eabi
46 silly reify mark deleted [
46 silly reify   '/workspaces/prql/web/playground/node_modules/@rollup/rollup-android-arm-eabi'
46 silly reify ]
47 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@esbuild/win32-x64
48 silly reify mark deleted [ '/workspaces/prql/web/playground/node_modules/@esbuild/win32-x64' ]
49 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@esbuild/win32-ia32
50 silly reify mark deleted [ '/workspaces/prql/web/playground/node_modules/@esbuild/win32-ia32' ]
51 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@esbuild/win32-arm64
52 silly reify mark deleted [ '/workspaces/prql/web/playground/node_modules/@esbuild/win32-arm64' ]
53 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@esbuild/sunos-x64
54 silly reify mark deleted [ '/workspaces/prql/web/playground/node_modules/@esbuild/sunos-x64' ]
55 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@esbuild/openbsd-x64
56 silly reify mark deleted [ '/workspaces/prql/web/playground/node_modules/@esbuild/openbsd-x64' ]
57 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@esbuild/netbsd-x64
58 silly reify mark deleted [ '/workspaces/prql/web/playground/node_modules/@esbuild/netbsd-x64' ]
59 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@esbuild/linux-x64
60 silly reify mark deleted [ '/workspaces/prql/web/playground/node_modules/@esbuild/linux-x64' ]
61 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@esbuild/linux-s390x
62 silly reify mark deleted [ '/workspaces/prql/web/playground/node_modules/@esbuild/linux-s390x' ]
63 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@esbuild/linux-riscv64
64 silly reify mark deleted [
64 silly reify   '/workspaces/prql/web/playground/node_modules/@esbuild/linux-riscv64'
64 silly reify ]
65 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@esbuild/linux-ppc64
66 silly reify mark deleted [ '/workspaces/prql/web/playground/node_modules/@esbuild/linux-ppc64' ]
67 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@esbuild/linux-mips64el
68 silly reify mark deleted [
68 silly reify   '/workspaces/prql/web/playground/node_modules/@esbuild/linux-mips64el'
68 silly reify ]
69 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@esbuild/linux-loong64
70 silly reify mark deleted [
70 silly reify   '/workspaces/prql/web/playground/node_modules/@esbuild/linux-loong64'
70 silly reify ]
71 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@esbuild/linux-ia32
72 silly reify mark deleted [ '/workspaces/prql/web/playground/node_modules/@esbuild/linux-ia32' ]
73 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@esbuild/linux-arm
74 silly reify mark deleted [ '/workspaces/prql/web/playground/node_modules/@esbuild/linux-arm' ]
75 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@esbuild/freebsd-x64
76 silly reify mark deleted [ '/workspaces/prql/web/playground/node_modules/@esbuild/freebsd-x64' ]
77 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@esbuild/freebsd-arm64
78 silly reify mark deleted [
78 silly reify   '/workspaces/prql/web/playground/node_modules/@esbuild/freebsd-arm64'
78 silly reify ]
79 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@esbuild/darwin-x64
80 silly reify mark deleted [ '/workspaces/prql/web/playground/node_modules/@esbuild/darwin-x64' ]
81 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@esbuild/darwin-arm64
82 silly reify mark deleted [
82 silly reify   '/workspaces/prql/web/playground/node_modules/@esbuild/darwin-arm64'
82 silly reify ]
83 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@esbuild/android-x64
84 silly reify mark deleted [ '/workspaces/prql/web/playground/node_modules/@esbuild/android-x64' ]
85 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@esbuild/android-arm64
86 silly reify mark deleted [
86 silly reify   '/workspaces/prql/web/playground/node_modules/@esbuild/android-arm64'
86 silly reify ]
87 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@esbuild/android-arm
88 silly reify mark deleted [ '/workspaces/prql/web/playground/node_modules/@esbuild/android-arm' ]
89 verbose reify failed optional dependency /workspaces/prql/web/playground/node_modules/@esbuild/aix-ppc64
90 silly reify mark deleted [ '/workspaces/prql/web/playground/node_modules/@esbuild/aix-ppc64' ]
91 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 953ms
92 silly audit report {}
93 info run [email protected] postinstall node_modules/esbuild node install.js
94 info run [email protected] postinstall { code: 0, signal: null }
95 info run [email protected] prepare ../../prqlc/bindings/js npm run build
96 info run [email protected] prepare { code: 1, signal: null }
97 verbose stack Error: command failed
97 verbose stack     at promiseSpawn (/usr/local/share/nvm/versions/node/v20.18.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:22:22)
97 verbose stack     at spawnWithShell (/usr/local/share/nvm/versions/node/v20.18.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:124:10)
97 verbose stack     at promiseSpawn (/usr/local/share/nvm/versions/node/v20.18.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:12:12)
97 verbose stack     at runScriptPkg (/usr/local/share/nvm/versions/node/v20.18.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:77:13)
97 verbose stack     at runScript (/usr/local/share/nvm/versions/node/v20.18.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js:9:12)
97 verbose stack     at /usr/local/share/nvm/versions/node/v20.18.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:329:17
97 verbose stack     at run (/usr/local/share/nvm/versions/node/v20.18.0/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:67:22)
97 verbose stack     at /usr/local/share/nvm/versions/node/v20.18.0/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:84:9
97 verbose stack     at new Promise (<anonymous>)
97 verbose stack     at callLimit (/usr/local/share/nvm/versions/node/v20.18.0/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:35:69)
98 verbose pkgid [email protected]
99 error code 1
100 error path /workspaces/prql/prqlc/bindings/js
101 error command failed
102 error command sh -c npm run build
103 error > [email protected] build
103 error > npm run build:node && npm run build:web && npm run build:bundler
103 error
103 error
103 error > [email protected] build:node
103 error > npx cross-env wasm-pack build --target nodejs --out-dir dist/node --${PROFILE} && rm dist/node/.gitignore
104 error node:events:497
104 error       throw er; // Unhandled 'error' event
104 error       ^
104 error
104 error Error: spawn wasm-pack ENOENT
104 error     at ChildProcess._handle.onexit (node:internal/child_process:286:19)
104 error     at onErrorNT (node:internal/child_process:484:16)
104 error     at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
104 error Emitted 'error' event on ChildProcess instance at:
104 error     at ChildProcess._handle.onexit (node:internal/child_process:292:12)
104 error     at onErrorNT (node:internal/child_process:484:16)
104 error     at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
104 error   errno: -2,
104 error   code: 'ENOENT',
104 error   syscall: 'spawn wasm-pack',
104 error   path: 'wasm-pack',
104 error   spawnargs: [ 'build', '--target', 'nodejs', '--out-dir', 'dist/node', '--dev' ]
104 error }
104 error
104 error Node.js v20.18.0
105 silly unfinished npm timer reify 1730380389172
106 silly unfinished npm timer reify:build 1730380394219
107 silly unfinished npm timer build 1730380394219
108 silly unfinished npm timer build:links 1730380394283
109 silly unfinished npm timer build:run:prepare 1730380394284
110 silly unfinished npm timer build:run:prepare:../../prqlc/bindings/js 1730380394284
111 verbose cwd /workspaces/prql/web/playground
112 verbose os Linux 6.10.4-linuxkit
113 verbose node v20.18.0
114 verbose npm  v10.8.2
115 verbose exit 1
116 verbose code 1
117 error A complete log of this run can be found in: /home/vscode/.npm/_logs/2024-10-31T13_13_08_933Z-debug-0.log
vscode ➜ /workspaces/prql (main) $ 

@richb-hanover
Copy link
Contributor Author

@max-sixty - other oddness - cargo clean gives an os error 16. I have tried removing all containers, images, volumes, and Docker caches with no change to the underlying error message. Thoughts?

vscode ➜ /workspaces/prql (main) $ cargo clean
error: failed to remove directory `/workspaces/prql/target`

Caused by:
    Device or resource busy (os error 16)

Error: failed to remove directory `/workspaces/prql/target`

Caused by:
  Device or resource busy (os error 16)

@richb-hanover
Copy link
Contributor Author

Closing in favor of an updated report at #5007

@richb-hanover
Copy link
Contributor Author

SOLVED: See #5018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Invalid compiler output or panic
Projects
None yet
Development

No branches or pull requests

2 participants