Product/components used and version/fix level:
Cumulocity UI 1016.0.214
Detailed explanation of the problem:
Fail to build my cockpit.
This cockpit is to enable anonymous access and customize branding.
It’s working access the application locally with command ‘npm start’.
But fail to build the package.
Error messages / full error message screenshot / log file:
ERROR in node_modules/@types/ws/index.d.ts:328:18 - error TS2315: Type ‘Server’ is not generic.
328 server?: HTTPServer | HTTPSServer | undefined;
~~~~~~~~~~~~~
ERROR in node_modules/@types/ws/index.d.ts:328:34 - error TS2315: Type ‘Server’ is not generic.
328 server?: HTTPServer | HTTPSServer | undefined;
~~~~~~~~~~~~~~
webpack 5.76.1 compiled with 2 errors and 1 warning in 128497 ms (c1dd1a14e75419bb43e4)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! cockpit-anonymous@1.0.0 build: c8ycli build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the cockpit-anonymous@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.