stricklandrbls commented on PR #1382:
URL: https://github.com/apache/daffodil-vscode/pull/1382#issuecomment-3254723146
@shanedell - I seemed to be able to pinpoint the issue to which Node version
is being used.
The CI job summary shows that all jobs passed, with the exception of
Windows, when the Node version was not _20.18.3_.
The machine I had initially ran the CI job's yarn scripts was with Node
version _20.19.4_. When I used `nvm` to install _20.18.3_ and ran the yarn
script `test:svelte` I got the same errors as listed in the CI jobs:
```
$ mocha -r ts-node/register ./src/svelte/tests/**/*.test.ts
Exception during run: TypeError: Unknown file extension ".ts" for
./daffodil-vscode/src/svelte/tests/stores/index.test.ts
at Object.getFileProtocolModuleFormat [as file:]
(node:internal/modules/esm/get_format:176:9)
at defaultGetFormat (node:internal/modules/esm/get_format:219:36)
at defaultLoad (node:internal/modules/esm/load:143:22)
at async ModuleLoader.load (node:internal/modules/esm/loader:555:7)
at async ModuleLoader.moduleProvider
(node:internal/modules/esm/loader:434:45)
at async link (node:internal/modules/esm/module_job:87:21) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
error Command failed with exit code 1.
```
--
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]