I was having a problem with the gradlew too. I needed to chmod +x the script of the main project (the custom project). The project has another script that need it?
Just these two messages:
Cannot GET /modules/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js
Cannot GET /modules/@webcomponents/webcomponentsjs/webcomponents-loader.js
Now I have another problem! I don’t know if it is my error or of your webserver. It is the first time this has happened! It seems that the server is down or blocking my connections!
It happens after the ./gradlew modelWatch command:
Jitpack was down for a couple of days and we’ve experienced intermittent issues with it in the past so I’ve now updated the code so we no longer depend on it.
I’ve run into the same problem with blank screen and the problem with MIME types. What worked for me after few hours of fight was using ‘/’ at the end of url:
Any ideas? I’m also trying to run the custom deployment and I have run into (almost) the same error when trying to load http://localhost:9000/manager/.
This looks like the manager backend is not actually running; do you have it running in your IDE or using the profile/dev-ui.yml docker compose profile?
Bit late but this might be useful for other people encountering your problem.
Are you running the npm run serve command in the correct location? I was a bit confused since the custom-project directory includes ui/app/ subdirectories with an js project inside. I confused this with the subdirectory **openremote**/ui/app/.
Run npm run serve inside custom-project/openremote/ui/app/manager and adding ‘/’ to the url (localhost:9000/manager/) fixed the following problem:
Just these two messages:
Cannot GET /modules/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js
Cannot GET /modules/@webcomponents/webcomponentsjs/webcomponents-loader.js