Open Ortofta opened 1 week ago
Thanks for raising this up @Ortofta :+1:
No worries - let me know if you need more info or if you want me to test anything.
macos
when l run yarn install :
YN0000: │ ESM support for PnP uses the experimental loader API and is therefore experimental ➤ YN0007: │ kaoto@workspace:. must be built because it never has been before or the last one failed ^C➤ YN0009: │ kaoto@workspace:. couldn't be built successfully (exit code 129, logs can be found here:
then l run "postinstall": "yarn workspace @kaoto/camel-catalog run build",
node:internal/process/esm_loader:34 internalBinding('errors').triggerUncaughtException( ^ Error: Cannot find package 'json-schema-to-typescript' imported from /Users/junjiewang/Desktop/GKSK/code/interface-kaoto-fronted/packages/catalog-generator/scripts/json-schema-to-typescript.mts at packageResolve (/Users/junjiewang/Desktop/GKSK/code/interface-kaoto-fronted/.yarn/virtual/ts-node-virtual-564caa690c/5/.yarn/berry/cache/ts-node-npm-10.9.2-3f3890b9ac-10c0.zip/node_modules/ts-node/dist-raw/node-internal-modules-esm-resolve.js:757:9) at moduleResolve (/Users/junjiewang/Desktop/GKSK/code/interface-kaoto-fronted/.yarn/virtual/ts-node-virtual-564caa690c/5/.yarn/berry/cache/ts-node-npm-10.9.2-3f3890b9ac-10c0.zip/node_modules/ts-node/dist-raw/node-internal-modules-esm-resolve.js:798:18) at Object.defaultResolve (/Users/junjiewang/Desktop/GKSK/code/interface-kaoto-fronted/.yarn/virtual/ts-node-virtual-564caa690c/5/.yarn/berry/cache/ts-node-npm-10.9.2-3f3890b9ac-10c0.zip/node_modules/ts-node/dist-raw/node-internal-modules-esm-resolve.js:912:11) at /Users/junjiewang/Desktop/GKSK/code/interface-kaoto-fronted/.yarn/virtual/ts-node-virtual-564caa690c/5/.yarn/berry/cache/ts-node-npm-10.9.2-3f3890b9ac-10c0.zip/node_modules/ts-node/src/esm.ts:218:35 at entrypointFallback (/Users/junjiewang/Desktop/GKSK/code/interface-kaoto-fronted/.yarn/virtual/ts-node-virtual-564caa690c/5/.yarn/berry/cache/ts-node-npm-10.9.2-3f3890b9ac-10c0.zip/node_modules/ts-node/src/esm.ts:168:34) at /Users/junjiewang/Desktop/GKSK/code/interface-kaoto-fronted/.yarn/virtual/ts-node-virtual-564caa690c/5/.yarn/berry/cache/ts-node-npm-10.9.2-3f3890b9ac-10c0.zip/node_modules/ts-node/src/esm.ts:217:14 at addShortCircuitFlag (/Users/junjiewang/Desktop/GKSK/code/interface-kaoto-fronted/.yarn/virtual/ts-node-virtual-564caa690c/5/.yarn/berry/cache/ts-node-npm-10.9.2-3f3890b9ac-10c0.zip/node_modules/ts-node/src/esm.ts:409:21) at resolve (/Users/junjiewang/Desktop/GKSK/code/interface-kaoto-fronted/.yarn/virtual/ts-node-virtual-564caa690c/5/.yarn/berry/cache/ts-node-npm-10.9.2-3f3890b9ac-10c0.zip/node_modules/ts-node/src/esm.ts:197:12) at nextResolve (node:internal/modules/esm/hooks:866:28) at Hooks.resolve (node:internal/modules/esm/hooks:304:30)
Platform macos 15
NodeJS 20.12.0 Version: 2.3.0-dev
Hi @wJJwJJwJJwJJ, it looks like the yarn dependencies weren't installed, that would explain the post install failure. Could you please check the file that is expressed here:
exit code 129, logs can be found here: <filename>
My guess would be that maybe mvn
is missing, but the logs will show the problem
Describe the Bug
Running
yarn workspace @kaoto/camel-catalog run build
fails on Windows (using Powershell 7.4.5), with the following error message:Steps to Reproduce the Bug or Issue
yarn workspace @kaoto/camel-catalog run build
in PowershellScreenshots or Videos
No response
Platform