Failed to execute goal on MaryTTS

I’m trying to build the addons project simply by command line, running it like this, based on the README on GitHub:

mvn clean install -DskipChecks -DskipTests

But I get this error and the build always fails here:

[ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.2.7:verify (karaf-feature-verification) on project org.openhab.voice.marytts: Feature resolution failed for [openhab-voice-marytts/2.5.0.SNAPSHOT]
[ERROR] Message: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=openhab-voice-marytts; type=karaf.feature; version=2.5.0.SNAPSHOT; filter:="(&(osgi.identity=openhab-voice-marytts)(type=karaf.feature)(version>=2.5.0.SNAPSHOT))" [caused by: Unable to resolve openhab-voice-marytts/2.5.0.SNAPSHOT: missing requirement [openhab-voice-marytts/2.5.0.SNAPSHOT] osgi.identity; osgi.identity=org.openhab.voice.marytts; type=osgi.bundle; version="[2.5.0.201912142241,2.5.0.201912142241]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.voice.marytts/2.5.0.201912142241: missing requirement [org.openhab.voice.marytts/2.5.0.201912142241] osgi.wiring.package; filter:="(osgi.wiring.package=Lgov.noaa.pmel.util)"]]
[ERROR] Repositories: {
[ERROR]         file:D:\Work\openhab\openhab2-addons\bundles\org.openhab.voice.marytts\target/feature/feature.xml
[ERROR]         mvn:org.apache.karaf.features/framework/4.2.7/xml/features
[ERROR]         mvn:org.apache.karaf.features/standard/4.2.7/xml/features
[ERROR]         mvn:org.openhab.core.features.karaf/org.openhab.core.features.karaf.openhab-core/2.5.0-SNAPSHOT/xml/features
[ERROR]         mvn:org.openhab.core.features.karaf/org.openhab.core.features.karaf.openhab-tp/2.5.0-SNAPSHOT/xml/features
[ERROR]         mvn:org.ops4j.pax.web/pax-web-features/7.2.11/xml/features
[ERROR] }
[ERROR] Resources: {
[ERROR]         mvn:com.eclipsesource.jaxrs/publisher/5.3.1
[ERROR]         mvn:com.google.guava/failureaccess/1.0.1
[ERROR]         mvn:com.google.guava/guava/18.0
[ERROR]         mvn:com.google.guava/guava/27.1-jre
[ERROR]         mvn:commons-codec/commons-codec/1.6
[ERROR]         mvn:commons-collections/commons-collections/3.2.1
[ERROR]         mvn:commons-io/commons-io/2.2
[ERROR]         mvn:commons-lang/commons-lang/2.6
[ERROR]         mvn:commons-net/commons-net/3.3
[ERROR]         mvn:de.jollyday/jollyday/0.5.8
[ERROR]         mvn:de.maggu2810.p2redist/com.google.inject/3.0.0.v201312141243
[ERROR]         mvn:de.maggu2810.p2redist/org.antlr.runtime/3.2.0.v201101311130
[ERROR]         mvn:javax.annotation/javax.annotation-api/1.2
[ERROR]         mvn:javax.annotation/javax.annotation-api/1.3
[ERROR]         mvn:javax.el/javax.el-api/3.0.0
[ERROR]         mvn:javax.mail/mail/1.4.7
[ERROR]         mvn:javax.measure/unit-api/1.0
[ERROR]         mvn:javax.servlet/javax.servlet-api/3.1.0
[ERROR]         mvn:javax.validation/validation-api/1.1.0.Final
[ERROR]         mvn:javax.websocket/javax.websocket-api/1.1
[ERROR]         mvn:javax.ws.rs/javax.ws.rs-api/2.0.1
[ERROR]         mvn:joda-time/joda-time/2.9.2
[ERROR]         mvn:org.apache.aries.spifly/org.apache.aries.spifly.dynamic.bundle/1.2
[ERROR]         mvn:org.apache.aries/org.apache.aries.util/1.1.3
[ERROR]         mvn:org.apache.commons/commons-exec/1.1
[ERROR]         mvn:org.apache.felix/org.apache.felix.configadmin/1.9.16
[ERROR]         mvn:org.apache.felix/org.apache.felix.coordinator/1.0.2
[ERROR]         mvn:org.apache.felix/org.apache.felix.fileinstall/3.6.4
[ERROR]         mvn:org.apache.felix/org.apache.felix.inventory/1.0.4
[ERROR]         mvn:org.apache.felix/org.apache.felix.metatype/1.2.2
[ERROR]         mvn:org.apache.felix/org.apache.felix.scr/2.1.16
[ERROR]         mvn:org.apache.felix/org.apache.felix.webconsole.plugins.ds/2.1.0
[ERROR]         mvn:org.apache.felix/org.apache.felix.webconsole.plugins.event/1.1.8
[ERROR]         mvn:org.apache.geronimo.specs/geronimo-jaspic_1.0_spec/1.1
[ERROR]         mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1
[ERROR]         mvn:org.apache.karaf.features/org.apache.karaf.features.core/4.2.7
[ERROR]         mvn:org.apache.karaf.features/org.apache.karaf.features.extension/4.2.7
[ERROR]         mvn:org.apache.karaf.http/org.apache.karaf.http.core/4.2.7
[ERROR]         mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.boot/4.2.7
[ERROR]         mvn:org.apache.karaf.scr/org.apache.karaf.scr.management/4.2.7
[ERROR]         mvn:org.apache.karaf.scr/org.apache.karaf.scr.state/4.2.7
[ERROR]         mvn:org.apache.karaf.services/org.apache.karaf.services.eventadmin/4.2.7
[ERROR]         mvn:org.apache.karaf.shell/org.apache.karaf.shell.commands/4.2.7
[ERROR]         mvn:org.apache.karaf.shell/org.apache.karaf.shell.core/4.2.7
[ERROR]         mvn:org.apache.karaf.webconsole/org.apache.karaf.webconsole.http/4.2.7
[ERROR]         mvn:org.apache.karaf.wrapper/org.apache.karaf.wrapper.core/4.2.7
[ERROR]         mvn:org.apache.karaf/org.apache.karaf.event/4.2.7
[ERROR]         mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax-inject/1_2
[ERROR]         mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream/1.4.7_1
[ERROR]         mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.activation-api-1.1/2.9.0
[ERROR]         mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxb-api-2.2/2.9.0
[ERROR]         mvn:org.apache.xbean/xbean-bundleutils/4.14
[ERROR]         mvn:org.apache.xbean/xbean-finder/4.14
[ERROR]         mvn:org.apache.xbean/xbean-reflect/4.14
[ERROR]         mvn:org.eclipse.emf/org.eclipse.emf.common/2.12.0
[ERROR]         mvn:org.eclipse.emf/org.eclipse.emf.ecore.change/2.11.0
[ERROR]         mvn:org.eclipse.emf/org.eclipse.emf.ecore.xmi/2.12.0
[ERROR]         mvn:org.eclipse.emf/org.eclipse.emf.ecore/2.12.0
[ERROR]         mvn:org.eclipse.jdt.core.compiler/ecj/4.5.1
[ERROR]         mvn:org.eclipse.jetty.websocket/javax-websocket-client-impl/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.jetty.websocket/javax-websocket-server-impl/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.jetty.websocket/websocket-api/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.jetty.websocket/websocket-client/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.jetty.websocket/websocket-common/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.jetty.websocket/websocket-server/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.jetty.websocket/websocket-servlet/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.jetty/jetty-client/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.jetty/jetty-continuation/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.jetty/jetty-deploy/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.jetty/jetty-http/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.jetty/jetty-io/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.jetty/jetty-jaas/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.jetty/jetty-jaspi/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.jetty/jetty-jmx/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.jetty/jetty-jndi/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.jetty/jetty-plus/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.jetty/jetty-proxy/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.jetty/jetty-rewrite/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.jetty/jetty-security/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.jetty/jetty-server/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.jetty/jetty-servlet/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.jetty/jetty-servlets/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.jetty/jetty-util-ajax/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.jetty/jetty-util/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.jetty/jetty-webapp/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.jetty/jetty-xml/9.4.20.v20190813
[ERROR]         mvn:org.eclipse.lsp4j/org.eclipse.lsp4j.jsonrpc/0.8.0
[ERROR]         mvn:org.eclipse.lsp4j/org.eclipse.lsp4j/0.8.0
[ERROR]         mvn:org.eclipse.orbit.bundles/com.google.gson/2.8.2.v20180104-1110
[ERROR]         mvn:org.eclipse.orbit.bundles/io.github.classgraph/4.8.35.v20190528-1517
[ERROR]         mvn:org.eclipse.platform/org.eclipse.equinox.common/3.10.400
[ERROR]         mvn:org.eclipse.platform/org.eclipse.equinox.registry/3.8.400
[ERROR]         mvn:org.eclipse.platform/org.eclipse.equinox.supplement/1.9.0
[ERROR]         mvn:org.eclipse.xtend/org.eclipse.xtend.lib.macro/2.19.0
[ERROR]         mvn:org.eclipse.xtend/org.eclipse.xtend.lib/2.19.0
[ERROR]         mvn:org.eclipse.xtext/org.eclipse.xtext.common.types/2.19.0
[ERROR]         mvn:org.eclipse.xtext/org.eclipse.xtext.ide/2.19.0
[ERROR]         mvn:org.eclipse.xtext/org.eclipse.xtext.smap/2.19.0
[ERROR]         mvn:org.eclipse.xtext/org.eclipse.xtext.util/2.19.0
[ERROR]         mvn:org.eclipse.xtext/org.eclipse.xtext.xbase.ide/2.19.0
[ERROR]         mvn:org.eclipse.xtext/org.eclipse.xtext.xbase.lib/2.19.0
[ERROR]         mvn:org.eclipse.xtext/org.eclipse.xtext.xbase/2.19.0
[ERROR]         mvn:org.eclipse.xtext/org.eclipse.xtext/2.19.0
[ERROR]         mvn:org.fusesource.jansi/jansi/1.18
[ERROR]         mvn:org.glassfish.hk2.external/aopalliance-repackaged/2.4.0-b34
[ERROR]         mvn:org.glassfish.hk2.external/javax.inject/2.4.0-b34
[ERROR]         mvn:org.glassfish.hk2/hk2-api/2.4.0-b34
[ERROR]         mvn:org.glassfish.hk2/hk2-locator/2.4.0-b34
[ERROR]         mvn:org.glassfish.hk2/hk2-utils/2.4.0-b34
[ERROR]         mvn:org.glassfish.hk2/osgi-resource-locator/1.0.1
[ERROR]         mvn:org.glassfish.jersey.bundles.repackaged/jersey-guava/2.22.2
[ERROR]         mvn:org.glassfish.jersey.containers/jersey-container-servlet-core/2.22.2
[ERROR]         mvn:org.glassfish.jersey.containers/jersey-container-servlet/2.22.2
[ERROR]         mvn:org.glassfish.jersey.core/jersey-client/2.22.2
[ERROR]         mvn:org.glassfish.jersey.core/jersey-common/2.22.2
[ERROR]         mvn:org.glassfish.jersey.core/jersey-server/2.22.2
[ERROR]         mvn:org.glassfish.jersey.media/jersey-media-jaxb/2.22.2
[ERROR]         mvn:org.glassfish.jersey.media/jersey-media-multipart/2.22.2
[ERROR]         mvn:org.glassfish.jersey.media/jersey-media-sse/2.22.2
[ERROR]         mvn:org.javassist/javassist/3.18.1-GA
[ERROR]         mvn:org.jline/jline-builtins/3.12.1
[ERROR]         mvn:org.jline/jline-reader/3.12.1
[ERROR]         mvn:org.jline/jline-terminal-jansi/3.12.1
[ERROR]         mvn:org.jline/jline-terminal/3.12.1
[ERROR]         mvn:org.jmdns/jmdns/3.5.5
[ERROR]         mvn:org.jvnet.mimepull/mimepull/1.9.6
[ERROR]         mvn:org.mapdb/mapdb/1.0.9
[ERROR]         mvn:org.openhab.addons.bundles/org.openhab.voice.marytts/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.audio/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.auth.oauth2client/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.binding.xml/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.boot/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.config.core/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.config.discovery.mdns/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.config.discovery/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.config.dispatch/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.config.xml/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.ephemeris/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.id/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.io.console.karaf/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.io.console/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.io.http/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.io.jetty.certificate/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.io.monitor/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.io.net/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.io.rest.audio/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.io.rest.core/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.io.rest.mdns/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.io.rest.optimize/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.io.rest.sitemap/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.io.rest.sse/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.io.rest.voice/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.io.rest/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.io.transport.mdns/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.karaf/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.model.core/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.model.item.ide/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.model.item.runtime/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.model.item/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.model.lsp/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.model.persistence.ide/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.model.persistence.runtime/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.model.persistence/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.model.rule.ide/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.model.rule.runtime/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.model.rule/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.model.script.ide/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.model.script.runtime/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.model.script/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.model.sitemap.ide/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.model.sitemap.runtime/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.model.sitemap/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.model.thing.ide/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.model.thing.runtime/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.model.thing/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.persistence/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.scheduler/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.semantics/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.storage.json/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.storage.mapdb/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.thing.xml/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.thing/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.transform/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.ui.icon/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.ui/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core.voice/2.5.0-SNAPSHOT
[ERROR]         mvn:org.openhab.core.bundles/org.openhab.core/2.5.0-SNAPSHOT
[ERROR]         mvn:org.ops4j.pax.logging/pax-logging-api/1.11.2
[ERROR]         mvn:org.ops4j.pax.logging/pax-logging-log4j2/1.11.2
[ERROR]         mvn:org.ops4j.pax.url/pax-url-aether/2.6.1
[ERROR]         mvn:org.ops4j.pax.web/pax-web-api/7.2.11
[ERROR]         mvn:org.ops4j.pax.web/pax-web-extender-whiteboard/7.2.11
[ERROR]         mvn:org.ops4j.pax.web/pax-web-jetty/7.2.11
[ERROR]         mvn:org.ops4j.pax.web/pax-web-jsp/7.2.11
[ERROR]         mvn:org.ops4j.pax.web/pax-web-runtime/7.2.11
[ERROR]         mvn:org.ops4j.pax.web/pax-web-spi/7.2.11
[ERROR]         mvn:org.osgi/org.osgi.util.function/1.0.0
[ERROR]         mvn:org.osgi/org.osgi.util.promise/1.0.0
[ERROR]         mvn:org.ow2.asm/asm-analysis/7.1
[ERROR]         mvn:org.ow2.asm/asm-commons/7.1
[ERROR]         mvn:org.ow2.asm/asm-tree/7.1
[ERROR]         mvn:org.ow2.asm/asm-util/7.1
[ERROR]         mvn:org.ow2.asm/asm/7.1
[ERROR]         mvn:org.threeten/threeten-extra/1.4
[ERROR]         mvn:tec.uom.lib/uom-lib-common/1.0.3
[ERROR]         mvn:tec.uom/uom-se/1.0.10
[ERROR] }
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :org.openhab.voice.marytts

I’m trying this right now on Windows, but I have tried it on Ubuntu as well, same results…
Java version: openJDK 11.0.3 2019-04-16

Can someone help me why it fails here everytime?

Thanks!

OpenHAB only supports Java 8 not 11.

That was my first thought also. But the Travis tests also builds for Java11 and it succeeds most of the time. Also I read somewhere by one of the contributors that the addons should also build on Java11.

I will do a quick test with Java 8.

My initial thought was right, same error with Java 8.

There was a recent PR (#6482) to update the add-on to use Maven for all dependencies. Previously it downloaded the bigger dependencies using a plugin to a lib dir. That dir is no longer necessary but since the downloaded content was not in the repo it is probably not deleted from your local Git repo checkout.

So make sure the following directory is deleted:

bundles/org.openhab.voice.marytts/lib

1 Like

Yes the lib was there. I have deleted the folder, now I just rebuild everything and it should be fine?

Yes give it a try. I hope it fixes the issue!

I saw the same on my own checkout and immediately removed the dir and never build with it. But I can imagine strange things might happen when the files are still there. :wink:

Thanks for your help :slight_smile: Hope it succeeds now, then I can move on to deal with the IDE problems.

Yes this helped on that problem, the build continued normally there.
However I have another problem, again it doesn’t matter that I’m on Windows or Linux:

Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.0:npm (gulp build) on project org.openhab.ui.basic: Failed to run task: 'npm run build' failed. (error code 1) -> [Help 1]

npm is available as a command and I can execute npm run commands in these folders…
What can be wrong with npm?

[ERROR] D:\Work\openhab\openhab-webui\bundles\org.openhab.ui.basic\node_modules\node-sass\lib\binding.js:15
[ERROR]       throw new Error(errors.missingBinary());
[ERROR]       ^
[ERROR]
[ERROR] Error: Missing binding D:\Work\openhab\openhab-webui\bundles\org.openhab.ui.basic\node_modules\node-sass\vendor\win32-x64-47\binding.node
[ERROR] Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 5.x
[ERROR]
[ERROR] Found bindings for the following environments:
[ERROR]   - Windows 64-bit with Node.js 10.x
[ERROR]
[ERROR] This usually happens because your environment has changed since running `npm install`.
[ERROR] Run `npm rebuild node-sass` to download the binding for your current environment.
[ERROR]     at module.exports (D:\Work\openhab\openhab-webui\bundles\org.openhab.ui.basic\node_modules\node-sass\lib\binding.js:15:13)
[ERROR]     at Object.<anonymous> (D:\Work\openhab\openhab-webui\bundles\org.openhab.ui.basic\node_modules\node-sass\lib\index.js:14:35)
[ERROR]     at Module._compile (module.js:398:26)
[ERROR]     at Object.Module._extensions..js (module.js:405:10)
[ERROR]     at Module.load (module.js:344:32)
[ERROR]     at Function.Module._load (module.js:301:12)
[ERROR]     at Module.require (module.js:354:17)
[ERROR]     at require (internal/module.js:12:17)
[ERROR]     at Object.<anonymous> (D:\Work\openhab\openhab-webui\bundles\org.openhab.ui.basic\node_modules\gulp-sass\index.js:187:21)
[ERROR]     at Module._compile (module.js:398:26)
[ERROR]
[ERROR] npm ERR! Windows_NT 10.0.18363
[ERROR] npm ERR! argv "D:\\Work\\openhab\\openhab-webui\\bundles\\org.openhab.ui.basic\\node\\node.exe" "D:\\Work\\openhab\\openhab-webui\\bundles\\org.openhab.ui.basic\\node\\node_modules\\npm\\bin\\npm-cli.js" "run" "build"
[ERROR] npm ERR! node v5.4.0
[ERROR] npm ERR! npm  v3.3.12
[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR! org.openhab.ui.basic@2.5.0 build: `gulp default`
[ERROR] npm ERR! Exit status 1
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the org.openhab.ui.basic@2.5.0 build script 'gulp default'.
[ERROR] npm ERR! Make sure you have the latest version of node.js and npm installed.
[ERROR] npm ERR! If you do, this is most likely a problem with the org.openhab.ui.basic package,
[ERROR] npm ERR! not with npm itself.
[ERROR] npm ERR! Tell the author that this fails on your system:
[ERROR] npm ERR!     gulp default
[ERROR] npm ERR! You can get their info via:
[ERROR] npm ERR!     npm owner ls org.openhab.ui.basic
[ERROR] npm ERR! There is likely additional logging output above.
[ERROR]
[ERROR] npm ERR! Please include the following file with any support request:
[ERROR] npm ERR!     D:\Work\openhab\openhab-webui\bundles\org.openhab.ui.basic\npm-debug.log

Seems like a node version problem.
However

node --version

gives:
10.16.3

It builds fine for me (npm 3.5.2, node 8.10.0). IIRC the plugin doesn’t need npm/node to be present and downloads these when unavailable. Sometimes I need to remove the cached content in the node_modules dirs to fix my webui build.