JeremyYao commented on PR #1382: URL: https://github.com/apache/daffodil-vscode/pull/1382#issuecomment-3258649989
When I attempt to debug the extension, it runs `yarn watch`. `yarn watch` is outputting this: ```powershell yarn run v1.22.22 warning [email protected]: The engine "vscode" appears to be invalid. $ yarn gen-version-ts && yarn sbt warning [email protected]: The engine "vscode" appears to be invalid. $ run-func build/yarn-scripts.ts genVersionTS warning [email protected]: The engine "vscode" appears to be invalid. $ sbt debugger/Universal/packageBin [info] welcome to sbt 1.10.11 (Oracle Corporation Java 17.0.12) [info] loading settings for project daffodil-vscode-robert-build from plugins.sbt... REDACTED [info] loading settings for project daffodil-debugger from build.sbt... REDACTED REDACTED [success] All package validations passed [success] Total time: 3 s, completed Sep 5, 2025, 10:54:46 AM $ run-func build/yarn-scripts.ts watch [concurrently] killOthers is deprecated. Use killOthersOn instead. $ cd src/svelte && DEBUG_DATAEDITOR=on vite --config ./vite.config.mjs build --mode development --watch warning [email protected]: The engine "vscode" appears to be invalid. warning [email protected]: The engine "vscode" appears to be invalid. $ esbuild src/tdmlEditor/webview/webview.js --outfile=dist/views/tdmlEditor/webview/webview.js --bundle --platform=node --format=cjs --watch [1] 'DEBUG_DATAEDITOR' is not recognized as an internal or external command, [1] operable program or batch file. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. error Command failed with exit code 1. [1] yarn watch:svelte exited with code 1 --> Sending SIGTERM to other processes.. [0] vite build -w -c ./vite/dev.vite.config.mjs exited with code 1 --> Sending SIGTERM to other processes.. [2] yarn watch:tdmlEditorJS exited with code 1 node:internal/process/promises:392 new UnhandledPromiseRejection(reason); ^ UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "[object Array]". at throwUnhandledRejectionsMode (node:internal/process/promises:392:7) at processPromiseRejections (node:internal/process/promises:475:17) at process.processTicksAndRejections (node:internal/process/task_queues:106:32) { code: 'ERR_UNHANDLED_REJECTION' } Node.js v22.14.0 error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. * The terminal process "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command "yarn run watch"" terminated with exit code: 1. * Terminal will be reused by tasks, press any key to close it. ``` -- 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]
