Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Node v20 breaks project #386

Closed
atomicptr opened this issue May 9, 2023 · 1 comment
Closed

Node v20 breaks project #386

atomicptr opened this issue May 9, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@atomicptr
Copy link
Owner

atomicptr commented May 9, 2023

$ yarn build:deps
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /home/christopher/test/dauntless-builder/builder/src/main.ts
    at new NodeError (node:internal/errors:399:5)
    at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:99:9)
    at defaultGetFormat (node:internal/modules/esm/get_format:139:38)
    at defaultLoad (node:internal/modules/esm/load:83:20)
    at nextLoad (node:internal/modules/esm/hooks:750:28)
    at load (/home/christopher/test/dauntless-builder/node_modules/ts-node/dist/child/child-loader.js:19:122)
    at nextLoad (node:internal/modules/esm/hooks:750:28)
    at Hooks.load (node:internal/modules/esm/hooks:382:26)
    at MessagePort.handleMessage (node:internal/modules/esm/worker:165:24)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:762:20) {
  code: 'ERR_UNKNOWN_FILE_EXTENSION'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Upstream Issues:

@atomicptr atomicptr added the bug Something isn't working label May 9, 2023
atomicptr added a commit that referenced this issue May 9, 2023
@atomicptr
Copy link
Owner Author

Switching to bun.sh with #419 solved this by no longer using Node

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant