-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Describe the bug
The npm init wrapper (this create-easy-ui5 package) is not working in Node.js v22. Error:
~/Desktop/tmp/ npm init easy-ui5
> npx
> easy-ui5
/Users/I533499/.npm/_npx/94306e80cf3675b9/node_modules/yeoman-environment/lib/store.js:76
Object.assign(maybeGenerator, additionalMeta);
^
TypeError: Cannot add property resolved, object is not extensible
at Function.assign (<anonymous>)
at Store.get (/Users/I533499/.npm/_npx/94306e80cf3675b9/node_modules/yeoman-environment/lib/store.js:76:12)
at composability.getByNamespace (/Users/I533499/.npm/_npx/94306e80cf3675b9/node_modules/yeoman-environment/lib/namespace-composability.js:20:37)
at Environment.create (/Users/I533499/.npm/_npx/94306e80cf3675b9/node_modules/yeoman-environment/lib/environment.js:889:29)
at instantiateAndRun (/Users/I533499/.npm/_npx/94306e80cf3675b9/node_modules/yeoman-environment/lib/environment.js:1096:36)
at Environment.run (/Users/I533499/.npm/_npx/94306e80cf3675b9/node_modules/yeoman-environment/lib/environment.js:1113:12)
at Object.<anonymous> (/Users/I533499/.npm/_npx/94306e80cf3675b9/node_modules/create-easy-ui5/index.js:26:7)
at Module._compile (node:internal/modules/cjs/loader:1554:14)
at Object..js (node:internal/modules/cjs/loader:1706:10)
at Module.load (node:internal/modules/cjs/loader:1289:32)
Node.js v22.14.0
npm error code 1
npm error path /Users/I533499/Desktop/tmp
npm error command failed
npm error command sh -c easy-ui5
npm error A complete log of this run can be found in: /Users/I533499/.npm/_logs/2025-03-04T09_43_44_054Z-debug-0.log
To Reproduce
Steps to reproduce the behavior:
- Run Node.js v22
- Run
npm init easy-ui5OR runnode .in this repo
Metadata
Metadata
Assignees
Labels
No labels