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

NPM run prod silently fails when using Node 23 #984

Open
dbrembilla opened this issue Nov 26, 2024 · 1 comment
Open

NPM run prod silently fails when using Node 23 #984

dbrembilla opened this issue Nov 26, 2024 · 1 comment

Comments

@dbrembilla
Copy link
Contributor

If I run in biigle

nvm use 23
npm run prod --verbose

npm fails silently.

If I run npm run prod with any other version of node, from 18 to 22, e.g.

nvm use 22
npm run prod

the script does not fail and correctly produces the production assets for NPM.

Logfile of the failing command:

0 verbose cli /home/dbrembil/.nvm/versions/node/v23.1.0/bin/node /home/dbrembil/.nvm/versions/node/v23.1.0/bin/npm
1 info using [email protected]
2 info using [email protected]
3 silly config load:file:/home/dbrembil/.nvm/versions/node/v23.1.0/lib/node_modules/npm/npmrc
4 silly config load:file:/home/dbrembil/projects/biigle/.npmrc
5 silly config load:file:/home/dbrembil/.npmrc
6 silly config load:file:/home/dbrembil/.nvm/versions/node/v23.1.0/etc/npmrc
7 verbose title npm run production
8 verbose argv "run" "production"
9 verbose logfile logs-max:10 dir:/home/dbrembil/.npm/_logs/2024-11-26T10_14_47_839Z-
10 verbose logfile /home/dbrembil/.npm/_logs/2024-11-26T10_14_47_839Z-debug-0.log
11 silly logfile start cleaning logs, removing 1 files
12 silly logfile done cleaning log files
13 verbose cwd /home/dbrembil/projects/biigle
14 verbose os Linux 6.11.9-arch1-1
15 verbose node v23.1.0
16 verbose npm  v10.9.0
17 verbose exit 0
18 info ok
@mzur
Copy link
Member

mzur commented Nov 27, 2024

Thanks. This will hopefully be resolved by #949.

@mzur mzur moved this to Medium Priority in BIIGLE Roadmap Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Medium Priority
Development

No branches or pull requests

2 participants