ts-node icon indicating copy to clipboard operation
ts-node copied to clipboard

TypeScript execution and REPL for node.js

Results 221 ts-node issues
Sort by recently updated
recently updated
newest added

### Search Terms file extension resolve ### Expected Behavior `npx ts-node --esm test` should run the `test.ts` file. ### Actual Behavior `Cannot find module '//test/test'` ### Steps to reproduce the...

### Search Terms "preferTsExts", "coverage", "index" ### Expected Behavior Following the below steps should result in 100% code coverage at all times ### Actual Behavior Coverage is not 100% ###...

### Desired Behavior SWC added support for WASM-based ast transformers. It would be useful to expose this in the configuration. The config is JSON-compatible, so it could be read from...

### Search Terms v8-compile-cache worker worker thread ### Expected Behavior Not to have `undefined\temp\v8-compile-cache\10.2.154.15-node.12` directory ### Actual Behavior I get one. ### Steps to reproduce the problem Use NodeJS Worker...

### Expected Behavior I install ts-node by 'npm i -g ts-node', when I use 'npm link ts-node' I want to use ts-node in local folder. But it throw error. ###...

### Search Terms composite, transform, ttypescript ### Expected Behavior When building a composite project, typescript/ttypescript picks up the transformers defined on each nested project. For example, with this structure: ```...

### Desired Behavior ts-node can resolve a tsconfig.json file relative to the entrypoint script. This is great. It seems tsconfig-paths will instead try to use the current working directory. This...

### Search Terms swc ### Expected Behavior No errors when running scripts after updating `@swc/wasm` from 1.3.18 to 1.3.20 ### Actual Behavior Errors when running scripts after updating `@swc/wasm` from...

### Desired Behavior ts-node brings in very few or no transitive dependencies. ### Is this request related to a problem? Sort of. Every dependency a project has slightly increases the...

Since https://github.com/nodejs/node/pull/43772, I'm able to use the `ts-node/esm` loader on top of yarn pnp. e.g: `node -r ./.pnp.cjs --loader ./.pnp.loader.mjs --loader ts-node/esm ./test.mts`, It loads ts-node from `./yarn/cache/...ts-node.zip` and runs...