mkhudyakov opened a new issue, #549: URL: https://github.com/apache/camel-karavan/issues/549
Going through the steps in https://github.com/apache/camel-karavan/blob/main/DEV.md down to ``` mvn clean package -Dquarkus.container-image.build=true ``` Getting ``` [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.camel.karavan:karavan:jar:3.18.5 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-resources-plugin is missing. @ line 232, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------< org.apache.camel.karavan:karavan >------------------ [INFO] Building karavan 3.18.5 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ karavan --- [INFO] Deleting /Users/jdoe/Camel/camel-karavan-3.18.5/karavan-app/target [INFO] [INFO] --- frontend-maven-plugin:1.11.2:install-node-and-npm (install node and npm) @ karavan --- [INFO] Installing node version v18.12.0 [INFO] Unpacking /Users/jdoe/.m2/repository/com/github/eirslett/node/18.12.0/node-18.12.0-darwin-x64.tar.gz into /Users/jdoe/Camel/camel-karavan-3.18.5/karavan-app/target/node/tmp [INFO] Copying node binary from /Users/jdoe/Camel/camel-karavan-3.18.5/karavan-app/target/node/tmp/node-v18.12.0-darwin-x64/bin/node to /Users/jdoe/Camel/camel-karavan-3.18.5/karavan-app/target/node/node [INFO] Installed node locally. [INFO] Installing npm version 8.12.2 [INFO] Unpacking /Users/jdoe/.m2/repository/com/github/eirslett/npm/8.12.2/npm-8.12.2.tar.gz into /Users/jdoe/Camel/camel-karavan-3.18.5/karavan-app/target/node/node_modules [INFO] Installed npm locally. [INFO] [INFO] --- frontend-maven-plugin:1.11.2:npm (npm install) @ karavan --- [INFO] Running 'npm install' in /Users/jdoe/Camel/camel-karavan-3.18.5/karavan-app/src/main/webapp [INFO] npm WARN deprecated @types/[email protected]: This is a stub types definition for localforage (https://github.com/localForage/localForage). localforage provides its own type definitions, so you don't need @types/localforage installed! [INFO] npm WARN deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility [INFO] npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser [INFO] npm WARN deprecated [email protected]: Use your platform's native performance.now() and performance.timeOrigin. [INFO] npm WARN deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead [INFO] npm WARN deprecated [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x. [INFO] npm WARN deprecated [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1 [INFO] npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js. [INFO] npm ERR! code 2 [INFO] npm ERR! path /Users/jdoe/Camel/camel-karavan-3.18.5/karavan-core [INFO] npm ERR! command failed [INFO] npm ERR! command sh -c npm run build && npm run test [INFO] npm ERR! > [email protected] build [INFO] npm ERR! > tsc [INFO] npm ERR! [INFO] npm ERR! src/core/api/CamelDefinitionYaml.ts(17,23): error TS2307: Cannot find module 'js-yaml' or its corresponding type declarations. [INFO] npm ERR! src/core/api/CamelDefinitionYaml.ts(109,28): error TS7006: Parameter 'key' implicitly has an 'any' type. [INFO] npm ERR! src/core/api/CamelDefinitionYaml.ts(109,33): error TS7006: Parameter 'value' implicitly has an 'any' type. [INFO] npm ERR! src/core/api/KameletApi.ts(18,23): error TS2307: Cannot find module 'js-yaml' or its corresponding type declarations. [INFO] npm ERR! src/core/model/IntegrationDefinition.ts(17,28): error TS2307: Cannot find module 'uuid' or its corresponding type declarations. [INFO] npm ERR! src/core/model/ProjectModel.ts(17,28): error TS2307: Cannot find module 'uuid' or its corresponding type declarations. [INFO] [INFO] npm ERR! A complete log of this run can be found in: [INFO] npm ERR! /Users/jdoe/.npm/_logs/2022-12-08T00_55_30_492Z-debug-0.log [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:53 min [INFO] Finished at: 2022-12-07T19:57:17-05:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.11.2:npm (npm install) on project karavan: Failed to run task: 'npm install' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 2 (Exit value: 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 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
