maven - how to run vaadin charts demo in eclipse -
tried following these instructions https://github.com/vaadin/charts/blob/7a55e8dab5b9941a05603c2624a576866e86045d/devinstructions.md, can't download dependencies step, though worked yesterday. widget compile not work.
in 'vaadin-charts-directorypackage' shows 4 errors after import
failed run task (com.github.eirslett:frontend-maven-plugin:0.0.23:bower:bower install:generate-resources) failed run task (com.github.eirslett:frontend-maven-plugin:0.0.23:gulp:gulp deploy:deploy) failed run task (com.github.eirslett:frontend-maven-plugin:0.0.23:gulp:gulp stage:generate-resources) failed run task (com.github.eirslett:frontend-maven-plugin:0.0.23:npm:npm install:generate-resources) caused by: com.github.eirslett.maven.plugins.frontend.lib.taskrunnerexception: 'npm install --color=false' failed. (error code 34)
then after add facets:
cannot change version of project facet dynamic web module 2.4. vaadin-charts-demo line 1 maven java ee configuration problem java compiler level not match version of installed java project facet. vaadin-charts-demo unknown faceted project problem (java version mismatch) 1 or more constraints have not been satisfied. vaadin-charts-demo line 1 maven java ee configuration problem
how fix these errors? want able run charts demo, doesn't seem should difficult, can't past these errors. tried googling errors 1 one, not sure how apply changes different files/projects imported/related 'vaadin-charts-demo'
looks devinstructions.md has been outdated while, noticing, i'll create ticket that.
about running demos, if you're using maven need run install in parent project, , jetty:run in demo project.
git clone --recursive https://github.com/vaadin/charts.git cd charts/ mvn clean install -dskiptests cd demo/ mvn jetty:run
note install might fail modules if don't recursive clone because submodule missing, relevant modules built , jetty:run should work demo.
if using eclipse , have workspace resolution importing demo, examples , addon modules should enough able use jetty:run in demo.
Comments
Post a Comment