GChuf commented on PR #109: URL: https://github.com/apache/activemq-artemis-console/pull/109#issuecomment-3101534191
Did you try removing and cloning the repository again, and then running yarn install? there were some major changes to project structure a while ago. Running yarn build produces this with your patch: ``` C:\git\activemq-artemis-console\artemis-console-extension\artemis-extension>yarn build [artemis-console-plugin]: Process started [artemis-console-plugin]: CLI Building entry: src/index.ts [artemis-console-plugin]: CLI Using tsconfig: tsconfig.json [artemis-console-plugin]: CLI tsup v8.4.0 [artemis-console-plugin]: CLI Using tsup config: C:\git\activemq-artemis-console\artemis-console-extension\artemis-extension\packages\artemis-console-plugin\tsup.config.ts [artemis-console-plugin]: CLI Target: esnext [artemis-console-plugin]: CLI Cleaning output folder [artemis-console-plugin]: CJS Build start [artemis-console-plugin]: DTS Build start [artemis-console-plugin]: X [ERROR] No matching export in "../../node_modules/@monaco-editor/react/dist/index.mjs" for import "monacoLoader" [artemis-console-plugin]: [artemis-console-plugin]: src/messages/SendMessage.tsx:20:9: [artemis-console-plugin]: 20 │ import { monacoLoader } from '@monaco-editor/react' [artemis-console-plugin]: ╵ ~~~~~~~~~~~~ [artemis-console-plugin]: [artemis-console-plugin]: CJS Build failed [artemis-console-plugin]: Error: Build failed with 1 error: [artemis-console-plugin]: src/messages/SendMessage.tsx:20:9: ERROR: No matching export in "../../node_modules/@monaco-editor/react/dist/index.mjs" for import "monacoLoader" [artemis-console-plugin]: at failureErrorWithLog (C:\git\activemq-artemis-console\artemis-console-extension\artemis-extension\node_modules\esbuild\lib\main.js:1477:15) [artemis-console-plugin]: at C:\git\activemq-artemis-console\artemis-console-extension\artemis-extension\node_modules\esbuild\lib\main.js:946:25 [artemis-console-plugin]: at runOnEndCallbacks (C:\git\activemq-artemis-console\artemis-console-extension\artemis-extension\node_modules\esbuild\lib\main.js:1317:45) [artemis-console-plugin]: at buildResponseToResult (C:\git\activemq-artemis-console\artemis-console-extension\artemis-extension\node_modules\esbuild\lib\main.js:944:7) [artemis-console-plugin]: at C:\git\activemq-artemis-console\artemis-console-extension\artemis-extension\node_modules\esbuild\lib\main.js:971:16 [artemis-console-plugin]: at responseCallbacks.<computed> (C:\git\activemq-artemis-console\artemis-console-extension\artemis-extension\node_modules\esbuild\lib\main.js:623:9) [artemis-console-plugin]: at handleIncomingPacket (C:\git\activemq-artemis-console\artemis-console-extension\artemis-extension\node_modules\esbuild\lib\main.js:678:12) [artemis-console-plugin]: at Socket.readFromStdout (C:\git\activemq-artemis-console\artemis-console-extension\artemis-extension\node_modules\esbuild\lib\main.js:601:7) [artemis-console-plugin]: at Socket.emit (node:events:518:28) [artemis-console-plugin]: at addChunk (node:internal/streams/readable:561:12) [artemis-console-plugin]: Unknown input options: onLog. Allowed options: acorn, acornInjectPlugins, cache, context, experimentalCacheExpiry, external, inlineDynamicImports, input, makeAbsoluteExternalsRelative, manualChunks, maxParallelFileOps, maxParallelFileReads, moduleContext, onwarn, perf, plugins, preserveEntrySignatures, preserveModules, preserveSymlinks, shimMissingExports, strictDeprecations, treeshake, watch [artemis-console-plugin]: DTS ⚡️ Build success in 6133ms [artemis-console-plugin]: DTS dist\index.d.ts 105.00 B [artemis-console-plugin]: Process exited (exit code 1), completed in 7s 290ms The command failed in workspace artemis-console-plugin@workspace:packages/artemis-console-plugin with exit code 1 The command failed for workspaces that are depended upon by other workspaces; can't satisfy the dependency graph Failed with errors in 7s 299ms ``` -- 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: gitbox-unsubscr...@activemq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For additional commands, e-mail: gitbox-h...@activemq.apache.org For further information, visit: https://activemq.apache.org/contact