Problem trying to edit Paper UI

Tags: #<Tag:0x00007f015369e898>

(Dominik Schlierf) #1

Hello everyone,

I did not change a single thing yet and all branches are up to date. All I did is adding the org.eclipse.smarthome.ui.paper package to my run configuration in eclipse. As soon as I do this, the Paper UI is no longer working and I get this error when trying to access it instead:


Am I missing a Step that needs to be taken to edit the UI, or does anyone know what could be going wrong?

As always any help is much appreciated! :slight_smile:

(Miika Jukka) #2

Try without the .html at the end. Just /paperui/index

(David Graeff) #3

PaperUI is a AngularJS app. It seems like it hasn’t been build yet on your system.

This usually happens the very first time when you install the eclipse IDE with Eclipse smarthome core packages.
You have to manually do this now:

  • Go to the directory of paperUI (…org.eclipse.smarthome.ui.paperui/src I think), where the package.json file is located.
  • Do an npm install

That should build paperUI and on the next start the files can be picked up by the embedded webserver of OH.

(Dominik Schlierf) #4

Thank you for your replies, but sadly both suggestions did not work :S
I also tried removing the path from the run configuration and using the npm install again, but as expected, the UI works again and my changes are not present in the UI.

Do you have any other suggestions?