I am trying to create a new application from the cockpit template.
The process I went through is the following:
? Enter the name of the project: my-app
? Which base version do you want to scaffold from? 1015.0.389 (latest)
? Which base project do you want to scaffold from? cockpit
The project gets created successfully and I can run npm i without getting any errors.
Executing npm start also launches the application without any errors in the console.
The only modification I did to the project is, that I changed the “start” script in the package.json ( “start”: “c8ycli server -u https://my-domain”).
But when I try to open the application, the site is not functional and i get this error in the console.
I have already tried different versions for the cockpit, but i get the same result.
The error only occurs when I use the cockpit template, i tried the empty app and tutorial template, these work without any errors.
Angular CLI: 16.0.0
Package Manager: npm 8.19.4
OS: win32 x64
… animations, common, compiler, compiler-cli, core, forms
… language-service, localize, platform-browser
… platform-browser-dynamic, router, service-worker, upgrade
@ angular-devkit/architect 0.1202.14
@ angular-devkit/build-angular 12.2.14
@ angular-devkit/core 12.2.14
@ angular-devkit/schematics 16.0.0 (cli-only)
@ angular/cdk 12.2.13
@ schematics/angular 16.0.0 (cli-only)