-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I opened this repo on GitPod (I noticed it has a .gitpod.yml file) and tried to build the single/script example from the browser package. It failed with lerna: not found. Is it trying to run lerna from bash instead of from npx?
HISTFILE=/workspace/.gitpod/cmd-0 history -r; {
npm install && npm run build
}
gitpod /workspace/solid-client-authn-js (main) $ HISTFILE=/workspace/.gitpod/cmd-0 history -r; {
> npm install && npm run build
> }
npm warn deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead
npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
> root@0.0.0 postinstall
> npm run build
> root@0.0.0 build
> lerna run build
(node:2231) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
lerna notice cli v8.1.9
✔ @inrupt/solid-client-authn-core:build (4s)
✔ @inrupt/oidc-client-ext:build (4s)
✔ @inrupt/solid-client-authn-node:build (4s)
✔ @inrupt/solid-client-authn-browser:build (10s)
✔ browser-in-bundle:build (9s)
✔ test-app:build (29s)
————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
Lerna (powered by Nx) Successfully ran target build for 6 projects (47s)
added 1878 packages, and audited 1905 packages in 2m
276 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
npm notice
npm notice New major version of npm available! 10.9.0 -> 11.0.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.0.0
npm notice To update run: npm install -g npm@11.0.0
npm notice
> root@0.0.0 build
> lerna run build
(node:3233) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
lerna notice cli v8.1.9
✔ @inrupt/solid-client-authn-core:build (6s)
✔ @inrupt/oidc-client-ext:build (4s)
✔ @inrupt/solid-client-authn-node:build (4s)
✔ @inrupt/solid-client-authn-browser:build (12s)
✔ browser-in-bundle:build (11s)
✔ test-app:build (24s)
————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
Lerna (powered by Nx) Successfully ran target build for 6 projects (45s)
gitpod /workspace/solid-client-authn-js (main) $ cd packages/browser/examples/single/script/
gitpod /workspace/solid-client-authn-js/packages/browser/examples/single/script (main) $ npm ci
> root@0.0.0 postinstall
> npm run build
> root@0.0.0 build
> lerna run build
sh: 1: lerna: not found
npm error code 127
npm error path /workspace/solid-client-authn-js
npm error command failed
npm error command sh -c npm run build
npm error A complete log of this run can be found in: /home/gitpod/.npm/_logs/2025-01-13T09_48_05_413Z-debug-0.log
I also tried to run npm ci in the repo root as the docs of the example say but still got the same error.
$ history
1 npm install && npm run build
2 cd packages/browser/examples/single/script/
3 npm ci
4 cd
5 cd /workspace/solid-client-authn-js/
6 npm ci
7 cd /workspace/solid-client-authn-js/
8 npm ci
9 cd packages/browser/examples/single/script/
10 npm ci
11 history
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working