Setting up custom deployment on IntelliJ part 2

Hi
Upon running npm run serve, it seems as though everything is able to run


> @openremote/custom@1.0.0 serve
> npx tsc -b --clean && npx shx rm -rf dist && npx orutil build && npx cross-env NODE_OPTIONS=--max_old_space_size=4096 webpack serve --mode development

Running gradlew modelBuild task in C:\Users\kaswe\CusOpenRemote ...
gradlew modelWatch finished! Status = 0

To customise the URL of the manager and/or keycloak use the managerUrl and/or keycloakUrl
 environment arguments e.g:

npm run serve -- --env managerUrl=https://localhost
npm run serve -- --env keycloakUrl=https://localhost/auth

MANAGER URL: http://localhost:8080
KEYCLOAK URL: undefined

<i> [webpack-dev-server] Project is running at:
<i> [webpack-dev-server] Loopback: http://localhost:9000/
<i> [webpack-dev-server] On Your Network (IPv4): http://172.30.61.161:9000/
<i> [webpack-dev-server] Content not from webpack is served from 'src' directory
<i> [webpack-dev-server] 404s will fallback to '/custom/'
<i> [webpack-dev-middleware] wait until bundle finished: /
assets by path *.js 37.5 MiB
  asset bundle.87bc707501a1b3e9b822.js 24 MiB [emitted] [immutable] (name: bundle)
  asset 63b15fb6fc8f897b22a4bf72b7e8452a.js 3.34 MiB [emitted] [immutable] [from: ../../../node_modules/ace-builds/src-noconflict/worker-xquery.js] (auxiliary name: bundle)
  asset 03371bf1d5cbb1eab58e3a0130d1e9c2.js 705 KiB [emitted] [immutable] [from: ../../../node_modules/ace-builds/src-noconflict/worker-javascript.js] (auxiliary name: bundle)
  + 423 assets
assets by path ../ 3.95 MiB
  assets by path ../../../../openremote/ui/component/ 3.54 MiB 375 assets
  assets by path ../../../../openremote/ui/app/manager/ 417 KiB 46 assets
  assets by path ../lib/ 1.63 KiB 2 assets
assets by path modules/@webcomponents/webcomponentsjs/ 3.19 MiB 48 assets
assets by path locales/ 119 bytes
  asset locales/en/app.json 76 bytes [emitted] [from: locales/en/app.json] [copied]
  asset locales/nl/app.json 43 bytes [emitted] [from: locales/nl/app.json] [copied]
asset index.html 3.66 KiB [emitted]
orphan modules 21.4 KiB [orphan] 17 modules
runtime modules 2.54 KiB 10 modules
modules by path ../../../node_modules/ 8.08 MiB
  javascript modules 7.3 MiB 1153 modules
  asset modules 795 KiB 24 modules
  json modules 3.07 KiB 2 modules
modules by path ../../../openremote/ui/ 922 KiB
  modules by path ../../../openremote/ui/component/ 894 KiB 61 modules
  modules by path ../../../openremote/ui/app/manager/lib/ 27.6 KiB
    modules by path ../../../openremote/ui/app/manager/lib/*.js 3.27 KiB 2 modules
    modules by path ../../../openremote/ui/app/manager/lib/pages/*.js 24.3 KiB 2 modules
modules by path ./ 4.19 KiB
  ./src/index.ts 2.4 KiB [built] [code generated]
  ./src/pages/page-custom.ts 1.77 KiB [built] [code generated]
  ./util.inspect (ignored) 15 bytes [built] [code generated]
webpack 5.72.0 compiled successfully in 31518 ms
<i> [webpack-dev-middleware] wait until bundle finished: /modules/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js
<i> [webpack-dev-middleware] wait until bundle finished: /modules/@webcomponents/webcomponentsjs/webcomponents-loader.js
assets by status 16.7 MiB [cached] 475 assets
assets by status 24 MiB [emitted]
  asset bundle.16704a1e149b54dfa921.js 24 MiB [emitted] [immutable] (name: bundle)
  asset index.html 3.66 KiB [emitted]
cached modules 8.2 MiB [cached] 1207 modules
runtime modules 2.54 KiB 10 modules
javascript modules 823 KiB
  modules by path ../../../openremote/ui/component/ 795 KiB 53 modules
  modules by path ../../../openremote/ui/app/manager/lib/ 27.6 KiB
    modules by path ../../../openremote/ui/app/manager/lib/*.js 3.27 KiB
      ../../../openremote/ui/app/manager/lib/headers.js 2.94 KiB [built]
      ../../../openremote/ui/app/manager/lib/routes.js 341 bytes [built]
    modules by path ../../../openremote/ui/app/

However, upon trying to access the URL itself, it seems as though none of the components are loaded.

Could I get some advice on what to look into to fix this issue? For reference, the way I set this up was using the custom-project template found on the github, followed by using the git submodule function within custom project.

Unsure if this will help, but here is my Inspector window

If you want to run the manager in a docker container then it needs to be configured in dev mode (to allow any CORS); you need to start the stack with OR_DEV_MODE: true e.g.:

OR_DEV_MODE=true docker-compose up -d

same issue for me how you can resolve it