-
Notifications
You must be signed in to change notification settings - Fork 278
Description
Bug Description
After creating a new web component project via the command npm init @ui5/webcomponents-package and installing the corresponding node modules, the live server only starts a few times (package version = "@ui5/webcomponents-tools": "2.19.2"). After installing package @ui5/webcomponents version 2.19.2, both the start and build scripts throw the following error:
`Error executing commands: Error: Exit 2
at ChildProcess. (/home/user/projects/example-project/node_modules/@ui5/webcomponents-tools/bin/ui5nps.js:231:38)
at ChildProcess.emit (node:events:536:35)
at maybeClose (node:internal/child_process:1101:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
node:child_process:957
throw err;
^
Error: Command failed: ui5nps "start"
at genericNodeError (node:internal/errors:983:15)
at wrappedFn (node:internal/errors:537:14)
at checkExecSyncError (node:child_process:882:11)
at Object.execSync (node:child_process:954:15)
at Object. (/home/user/projects/example-project/node_modules/@ui5/webcomponents-tools/bin/dev.js:22:15)
at Module._compile (node:internal/modules/cjs/loader:1562:14)
at Object..js (node:internal/modules/cjs/loader:1699:10)
at Module.load (node:internal/modules/cjs/loader:1313:32)
at Function._load (node:internal/modules/cjs/loader:1123:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14) {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 25208,
stdout: null,
stderr: null
}`
Affected Component
@ui5/webcomponents-tools
Expected Behaviour
The command wc-dev start should start the live server as usual
Isolated Example
No response
Steps to Reproduce
- Create a new component by using
npm init @ui5/webcomponents-package - Install package
@ui5/webcomponentsusingnpm install @ui5/webcomponents - Try to start the webserver using
npm runs start
Log Output, Stack Trace or Screenshots
@example-project start
wc-dev start
Error executing commands: Error: Exit 2
at ChildProcess. (/home/user/projects/example-project/node_modules/@ui5/webcomponents-tools/bin/ui5nps.js:231:38)
at ChildProcess.emit (node:events:536:35)
at maybeClose (node:internal/child_process:1101:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
node:child_process:957
throw err;
^
Error: Command failed: ui5nps "start"
at genericNodeError (node:internal/errors:983:15)
at wrappedFn (node:internal/errors:537:14)
at checkExecSyncError (node:child_process:882:11)
at Object.execSync (node:child_process:954:15)
at Object. (/home/user/projects/example-project/node_modules/@ui5/webcomponents-tools/bin/dev.js:22:15)
at Module._compile (node:internal/modules/cjs/loader:1562:14)
at Object..js (node:internal/modules/cjs/loader:1699:10)
at Module.load (node:internal/modules/cjs/loader:1313:32)
at Function._load (node:internal/modules/cjs/loader:1123:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14) {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 25208,
stdout: null,
stderr: null
}
Priority
High
UI5 Web Components Version
2.19.2
Browser
Chrome, Edge
Operating System
No response
Additional Context
No response
Organization
No response
Declaration
- I’m not disclosing any internal or sensitive information.