Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frontend Build Issue #352

Open
Robbie1977 opened this issue Apr 11, 2023 · 0 comments
Open

Frontend Build Issue #352

Robbie1977 opened this issue Apr 11, 2023 · 0 comments
Assignees
Labels
Blocker Blocker for release metacell

Comments

@Robbie1977
Copy link

one of the dependencies is causing a build failure on Frontend this is affecting all build (no changes in code) so must be a breaking change in a new version of the dependencies so need to pin it down and fix the version to the previous version if not an easy fix.

originally noticed in alpha GA build but also on a rebuild of development branch (previously working).

Maven install org.geppetto.frontend
[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building Geppetto Frontend 1.0.1
[INFO] ------------------------------------------------------------------------
Downloading from org.geppetto-mvn-repo: https://raw.github.com/openworm/org.geppetto.maven/mvn-repo/com/dropbox/core/dropbox-core-sdk/3.0.6-SNAPSHOT/maven-metadata.xml
Downloading from org.geppetto-mvn-repo: https://raw.github.com/openworm/org.geppetto.maven/mvn-repo/org/geppetto/model/maven-metadata.xml
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:copy-dependencies (copy-dependencies) @ frontend ---
[INFO] aws-java-sdk-cloudformation-1.10.2.jar already exists in destination.
[INFO] emfjson-jackson-0.14.0.jar already exists in destination.
[INFO] model-1.1.0.jar already exists in destination.
[INFO] jackson-databind-2.10.3.jar already exists in destination.
[INFO] httpcore-osgi-4.4.4.jar already exists in destination.
[INFO] aws-java-sdk-redshift-1.10.2.jar already exists in destination.
[INFO] aws-java-sdk-opsworks-1.10.2.jar already exists in destination.
[INFO] org.osgi.core-5.0.0.jar already exists in destination.
[INFO] aws-java-sdk-elasticbeanstalk-1.10.2.jar already exists in destination.
[INFO] aws-java-sdk-cloudwatchmetrics-1.10.2.jar already exists in destination.
[INFO] aws-java-sdk-sqs-1.10.2.jar already exists in destination.
[INFO] aws-java-sdk-sns-1.10.2.jar already exists in destination.
[INFO] joda-time-2.8.1.jar already exists in destination.
[INFO] org.eclipse.emf.ecore-2.11.0-v20150123-0347.jar already exists in destination.
[INFO] aws-java-sdk-ses-1.10.2.jar already exists in destination.
[INFO] tomcat-util-8.5.31.jar already exists in destination.
[INFO] spring-context-4.3.9.RELEASE.jar already exists in destination.
[INFO] aws-java-sdk-iam-1.10.2.jar already exists in destination.
[INFO] aws-java-sdk-cloudwatch-1.10.2.jar already exists in destination.
[INFO] tomcat-util-scan-8.5.31.jar already exists in destination.
[INFO] aws-java-sdk-datapipeline-1.10.2.jar already exists in destination.
[INFO] com.springsource.net.sf.cglib-2.2.0.jar already exists in destination.
[INFO] aws-java-sdk-core-1.10.2.jar already exists in destination.
[INFO] commons-codec-1.9.jar already exists in destination.
[INFO] cloning-1.9.3.jar already exists in destination.
[INFO] tomcat-websocket-api-8.5.31.jar already exists in destination.
[INFO] commons-logging-1.2.jar already exists in destination.
[INFO] aws-java-sdk-support-1.10.2.jar already exists in destination.
[INFO] shiro-core-1.2.1.jar already exists in destination.
[INFO] org.apache.servicemix.bundles.velocity-1.7_6.jar already exists in destination.
[INFO] tomcat-jaspic-api-8.5.31.jar already exists in destination.
[INFO] org.apache.servicemix.bundles.commons-codec-1.3_2.jar already exists in destination.
[INFO] aws-java-sdk-elasticache-1.10.2.jar already exists in destination.
[INFO] tomcat-jni-8.5.31.jar already exists in destination.
[INFO] gson-2.1.jar already exists in destination.
[INFO] slf4j-api-1.7.6.jar already exists in destination.
[INFO] tomcat-api-8.5.31.jar already exists in destination.
[INFO] commons-lang-2.6.jar already exists in destination.
[INFO] tomcat-juli-8.5.31.jar already exists in destination.
[INFO] tomcat-coyote-8.5.31.jar already exists in destination.
[INFO] org.apache.servicemix.bundles.commons-io-1.4_3.jar already exists in destination.
[INFO] httpmime-4.5.1.jar already exists in destination.
[INFO] aws-java-sdk-cloudtrail-1.10.2.jar already exists in destination.
[INFO] 
[INFO] ERROR in ./node_modules/react-kapsule/dist/react-kapsule.mjs 95:20-28
[INFO] Can't import the named export 'useState' from non EcmaScript module (only default export is available)
[INFO]  @ ./node_modules/react-force-graph-2d/dist/react-force-graph-2d.mjs
[INFO]  @ ./node_modules/@geppettoengine/geppetto-client/geppetto-ui/src/graph-visualization/Graph.js
[INFO]  @ ./components/interface/VFBGraph/VFBGraph.js
[INFO]  @ ./components/VFBMain.js
[INFO]  @ ./containers/VFBMainContainer.js
[INFO]  @ ./Main.js
[INFO] 
[INFO] ERROR in ./node_modules/react-kapsule/dist/react-kapsule.mjs 162:19-27
[INFO] Can't import the named export 'useState' from non EcmaScript module (only default export is available)
[INFO]  @ ./node_modules/react-force-graph-2d/dist/react-force-graph-2d.mjs
[INFO]  @ ./node_modules/@geppettoengine/geppetto-client/geppetto-ui/src/graph-visualization/Graph.js
[INFO]  @ ./components/interface/VFBGraph/VFBGraph.js
[INFO]  @ ./components/VFBMain.js
[INFO]  @ ./containers/VFBMainContainer.js
[INFO]  @ ./Main.js
[INFO] Child html-webpack-plugin for "../WEB-INF/web.xml":
[INFO]      1 asset
[INFO]     Entrypoint undefined = ../WEB-INF/web.xml
[INFO]     [0] ./node_modules/html-webpack-plugin/lib/loader.js!./WEB-INF/web.ejs 4.19 KiB {0} [built]
[INFO]     [2] (webpack)/buildin/global.js 472 bytes {0} [built]
[INFO]     [3] (webpack)/buildin/module.js 497 bytes {0} [built]
[INFO]         + 1 hidden module
[INFO] Child html-webpack-plugin for "admin.vm":
[INFO]      1 asset
[INFO]     Entrypoint undefined = admin.vm
[INFO]     [2] (webpack)/buildin/global.js 472 bytes {0} [built]
[INFO]     [3] (webpack)/buildin/module.js 497 bytes {0} [built]
[INFO]         + 2 hidden modules
[INFO] Child html-webpack-plugin for "dashboard.vm":
[INFO]      1 asset
[INFO]     Entrypoint undefined = dashboard.vm
[INFO]     [2] (webpack)/buildin/global.js 472 bytes {0} [built]
[INFO]     [3] (webpack)/buildin/module.js 497 bytes {0} [built]
[INFO]         + 2 hidden modules
[INFO] Child html-webpack-plugin for "geppetto.vm":
[INFO]      1 asset
[INFO]     Entrypoint undefined = geppetto.vm
[INFO]     [2] (webpack)/buildin/global.js 472 bytes {0} [built]
[INFO]     [3] (webpack)/buildin/module.js 497 bytes {0} [built]
[INFO]         + 2 hidden modules
[INFO] Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/@geppettoengine/geppetto-client/geppetto-client/js/components/interface/carousel/vendor/slick.css:
[INFO]     Entrypoint mini-css-extract-plugin = *
[INFO]        2 modules
[INFO] Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/react-sortable-tree/style.css:
[INFO]     Entrypoint mini-css-extract-plugin = *
[INFO]        2 modules
[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR! errno 2
[ERROR] npm ERR! Virtual_Fly_Brain@1.0.0 build-dev: `webpack --devtool eval "--env.contextPath=org.geppetto.frontend" "--env.useSsl=false" "--env.embedded=${embedded}" "--env.embedderURL=${embedderURL}"`
[ERROR] npm ERR! Exit status 2
[ERROR] npm ERR! 
[ERROR] npm ERR! Failed at the Virtual_Fly_Brain@1.0.0 build-dev script.
[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[ERROR] 
[ERROR] npm ERR! A complete log of this run can be found in:
[ERROR] npm ERR!     /home/developer/.npm/_logs/2023-04-10T19_10_30_821Z-debug.log
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:07 min
[INFO] Finished at: 2023-04-10T19:10:30Z
[INFO] Final Memory: 22M/232M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm run build webapp) on project frontend: Failed to run task: 'npm run build-dev -- --env.contextPath=org.geppetto.frontend --env.useSsl=false --env.embedded=${embedded} --env.embedderURL=${embedderURL}' failed. (error code 2) -> [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/MojoFailureException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocker Blocker for release metacell
Projects
None yet
Development

No branches or pull requests

3 participants