-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Labels
Description
Describe the bug
When creating an SBOM with cyclonedx-npm under NodeJS 24 (NodeJS 22 works fine) the build crashes with
"code": "ELSPROBLEMS",
"summary": "invalid: [email protected]
Expected-behavior
Vaadin can be build with NodeJS 22 and NodeJS 24.
Reproduction
- Download a simple project from start.vaadin.com
- enable frontendHotdeploy=true in the pom.xml to ensure package(-lock).json is present
- start the application once to ensure node_modules it populated
- execute
npm ls --json --long --all --omit=devto mimic cyclonedx-npm
Result: npm debug log
163 verbose stack Error: invalid: [email protected] /Users/knoobie/dev/bugs/app/node_modules/dompurify
163 verbose stack invalid: [email protected] /Users/knoobie/dev/bugs/app/node_modules/ol
163 verbose stack invalid: [email protected] /Users/knoobie/dev/bugs/app/node_modules/rbush
163 verbose stack invalid: @lit/[email protected] /Users/knoobie/dev/bugs/app/node_modules/@lit/react
163 verbose stack invalid: @types/[email protected] /Users/knoobie/dev/bugs/app/node_modules/@types/react-dom
163 verbose stack invalid: @types/[email protected] /Users/knoobie/dev/bugs/app/node_modules/@types/react
163 verbose stack invalid: [email protected] /Users/knoobie/dev/bugs/app/node_modules/loose-envify
163 verbose stack at LS.exec (/opt/homebrew/lib/node_modules/npm/lib/commands/ls.js:206:9)
163 verbose stack at async Npm.exec (/opt/homebrew/lib/node_modules/npm/lib/npm.js:208:9)
163 verbose stack at async module.exports (/opt/homebrew/lib/node_modules/npm/lib/cli/entry.js:67:5)
164 error code ELSPROBLEMS
165 error invalid: [email protected] /Users/knoobie/dev/bugs/app/node_modules/dompurify
165 error invalid: [email protected] /Users/knoobie/dev/bugs/app/node_modules/ol
165 error invalid: [email protected] /Users/knoobie/dev/bugs/app/node_modules/rbush
165 error invalid: @lit/[email protected] /Users/knoobie/dev/bugs/app/node_modules/@lit/react
165 error invalid: @types/[email protected] /Users/knoobie/dev/bugs/app/node_modules/@types/react-dom
165 error invalid: @types/[email protected] /Users/knoobie/dev/bugs/app/node_modules/@types/react
165 error invalid: [email protected] /Users/knoobie/dev/bugs/app/node_modules/loose-envify
166 verbose cwd /Users/knoobie/dev/bugs/app
167 verbose os Darwin 25.0.0
168 verbose node v24.9.0
169 verbose npm v11.6.0
170 verbose exit 1
171 verbose code 1
System Info
MacOS 26 or Jenkins.. both running NodeJS 24