Skip to content

Instantly share code, notes, and snippets.

@crandmck
Created April 27, 2023 23:53
Show Gist options
  • Save crandmck/d8bf69da2de04a655f26fc3e56a61c69 to your computer and use it in GitHub Desktop.
Save crandmck/d8bf69da2de04a655f26fc3e56a61c69 to your computer and use it in GitHub Desktop.
c2pa-js build error log
(base) ~/c2pa-js $rush install
Rush version 5.90.2 is not currently installed. Installing...
Trying to acquire lock for rush-5.90.2
Deleting old files from /Users/randmckinney/.rush/node-v16.13.0/rush-5.90.2
Running "npm install" in /Users/randmckinney/.rush/node-v16.13.0/rush-5.90.2
Successfully installed Rush version 5.90.2 in /Users/randmckinney/.rush/node-v16.13.0/rush-5.90.2.
Rush Multi-Project Build Tool 5.90.2 - https://rushjs.io
Node.js version is 16.13.0 (LTS)
Starting "rush install"
Validating package manager shrinkwrap file.
Found files in the "common/git-hooks" folder.
Successfully installed these Git hook scripts: pre-commit
Trying to acquire lock for pnpm-7.30.0
Acquired lock for pnpm-7.30.0
Installing pnpm version 7.30.0
Running "npm install" in /Users/randmckinney/.rush/node-v16.13.0/pnpm-7.30.0
added 1 package, and audited 2 packages in 955ms
1 package is looking for funding
run `npm fund` for details
found 0 vulnerabilities
Successfully installed pnpm version 7.30.0
Symlinking "/Users/randmckinney/c2pa-js/common/temp/pnpm-local"
--> "/Users/randmckinney/.rush/node-v16.13.0/pnpm-7.30.0"
Using the default variant for installation.
Updating workspace files in /Users/randmckinney/c2pa-js/common/temp
Copying "/Users/randmckinney/c2pa-js/common/config/rush/pnpm-lock.yaml"
--> "/Users/randmckinney/c2pa-js/common/temp/pnpm-lock.yaml"
Copying "/Users/randmckinney/c2pa-js/common/config/rush/pnpm-lock.yaml"
--> "/Users/randmckinney/c2pa-js/common/temp/pnpm-lock-preinstall.yaml"
Checking installation in "/Users/randmckinney/c2pa-js/common/temp"
Running "pnpm install" in /Users/randmckinney/c2pa-js/common/temp
Scope: all 14 workspace projects
╭─────────────────────────────────────────────────────────────────╮
│ │
│ Update available! 7.30.0 → 8.3.1. │
│ Changelog: https://github.com/pnpm/pnpm/releases/tag/v8.3.1 │
│ Run "pnpm add -g pnpm" to update. │
│ │
│ Follow @pnpmjs for updates: https://twitter.com/pnpmjs │
│ │
╰─────────────────────────────────────────────────────────────────╯
Downloading registry.npmjs.org/typescript/4.6.4: 11.4 MB/11.4 MB, done
../../packages/c2pa-wc |  WARN  deprecated stable@0.1.8
../../packages/c2pa-wc |  WARN  deprecated qs@6.10.5
../../packages/react |  WARN  deprecated request@2.88.2
../../packages/react |  WARN  deprecated har-validator@5.1.5
../../packages/react |  WARN  deprecated uuid@3.4.0
../../packages/c2pa-wc |  WARN  deprecated fsevents@2.1.3
Downloading registry.npmjs.org/typescript/4.7.4: 11.7 MB/11.7 MB, done
../../packages/c2pa-wc |  WARN  deprecated sane@4.1.0
../../packages/c2pa-wc |  WARN  deprecated querystring@0.2.0
../../packages/c2pa-wc |  WARN  deprecated source-map-resolve@0.5.3
../../packages/c2pa-wc |  WARN  deprecated resolve-url@0.2.1
../../packages/c2pa-wc |  WARN  deprecated source-map-url@0.4.1
../../packages/c2pa-wc |  WARN  deprecated urix@0.1.0
../../packages/c2pa-wc |  WARN  deprecated chokidar@2.1.8
../../packages/c2pa-wc |  WARN  deprecated fsevents@1.2.13
. | +2172 +++++++++++++++++++++++++++++++++++++++++++++++++
Packages are hard linked from the content-addressable store to the virtual store.
Content-addressable store is at: /Users/randmckinney/c2pa-js/common/temp/pnpm-store/v3
Virtual store is at: node_modules/.pnpm
Progress: resolved 2091, reused 0, downloaded 2072, added 2172, done
node_modules/.pnpm/core-js-bundle@3.23.2/node_modules/core-js-bundle: Running postinstall script, done in 98msdules/.pnpm/core-js@3.24.1/node_modules/core-js: Running postinstall script, done in 50ms
node_modules/.pnpm/nodemon@2.0.18/node_modules/nodemon: Running postinstall script, done in 115ms
node_modules/.pnpm/esbuild@0.14.47/node_modules/esbuild: Running postinstall script, done in 727ms
node_modules/.pnpm/fsevents@1.2.13/node_modules/fsevents: Running install script, done in 5.5s
node_modules/.pnpm/puppeteer@13.7.0/node_modules/puppeteer: Running install script, done in 7.8s
node_modules/.pnpm/node-sass@7.0.1/node_modules/node-sass: Running install script, done in 697ms
node_modules/.pnpm/node-sass@7.0.1/node_modules/node-sass: Running postinstall script, done in 1m 6.2s
Done in 1m 46.8s
Rush install finished successfully. (1 minute 49.0 seconds)
(base) ~/c2pa-js $rush build
Rush Multi-Project Build Tool 5.90.2 - https://rushjs.io
Node.js version is 16.13.0 (LTS)
Starting "rush build"
Analyzing repo state... DONE (0.09 seconds)
Executing a maximum of 10 simultaneous processes...
==[ @contentauth/testing ]========================================[ 1 of 13 ]==
"@contentauth/testing" completed successfully in 3.90 seconds.
==[ c2pa-wc-storykit ]============================================[ 9 of 13 ]==
"c2pa-wc-storykit" did not define any work.
==[ @contentauth/config ]========================================[ 10 of 13 ]==
"@contentauth/config" did not define any work.
==[ esm-imports ]================================================[ 11 of 13 ]==
"esm-imports" did not define any work.
==[ @contentauth/detector ]======================================[ 12 of 13 ]==
sh: wasm-pack: command not found
Returned error code: 127
"@contentauth/detector" failed to build.
"c2pa" is blocked by "@contentauth/detector".
"@contentauth/react" is blocked by "@contentauth/detector".
"c2pa-wc" is blocked by "@contentauth/detector".
"minimal-ts-rollup" is blocked by "@contentauth/detector".
"minimal-ts-vite" is blocked by "@contentauth/detector".
"minimal-ts-webpack" is blocked by "@contentauth/detector".
"react-ts-vite" is blocked by "@contentauth/detector".
==[ @contentauth/toolkit ]=======================================[ 13 of 13 ]==
node:events:368
throw er; // Unhandled 'error' event
^
Error: spawn wasm-pack ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
at onErrorNT (node:internal/child_process:477:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (node:internal/child_process:288:12)
at onErrorNT (node:internal/child_process:477:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn wasm-pack',
path: 'wasm-pack',
spawnargs: [
'build',
'--weak-refs',
'--quiet',
'--out-name',
'toolkit',
'--release',
'--target',
'web'
]
}
Returned error code: 1
"@contentauth/toolkit" failed to build.
==[ NO OP: 3 operations ]======================================================
These operations did not define any work:
@contentauth/config
c2pa-wc-storykit
esm-imports
==[ SUCCESS: 1 operation ]=====================================================
These operations completed successfully:
@contentauth/testing 3.90 seconds
==[ BLOCKED: 7 operations ]====================================================
These operations were blocked by dependencies that failed:
@contentauth/react
c2pa
c2pa-wc
minimal-ts-rollup
minimal-ts-vite
minimal-ts-webpack
react-ts-vite
==[ FAILURE: 2 operations ]====================================================
--[ FAILURE: @contentauth/detector ]-------------------------[ 0.03 seconds ]--
sh: wasm-pack: command not found
--[ FAILURE: @contentauth/toolkit ]--------------------------[ 0.48 seconds ]--
node:events:368
throw er; // Unhandled 'error' event
^
Error: spawn wasm-pack ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
at onErrorNT (node:internal/child_process:477:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (node:internal/child_process:288:12)
...7 lines omitted...
'build',
'--weak-refs',
'--quiet',
'--out-name',
'toolkit',
'--release',
'--target',
'web'
]
}
Operations failed.
rush build (4.48 seconds)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment