You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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/[email protected]: Use @eslint/config-array instead
npm warn deprecated @humanwhocodes/[email protected]: Use @eslint/object-schema instead
> [email protected] postinstall
> npm run build
> [email protected] 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 [email protected]
npm notice
> [email protected] 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
> [email protected] postinstall
> npm run build
> [email protected] 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
The text was updated successfully, but these errors were encountered:
Hi @michielbdejong , thanks for reporting this. I'll have to look into it because that's an issue I have observed in the past, and resolved using the --ignore-scripts flag (i.e. running npm ci --ignore-scripts), but this shouldn't be required. The example apps are in the npm workspace if I recall correctly, so there's probably a misconfiguration there.
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 withlerna: not found
. Is it trying to run lerna from bash instead of from npx?I also tried to run
npm ci
in the repo root as the docs of the example say but still got the same error.The text was updated successfully, but these errors were encountered: