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

Just a couple of minor capitalization fixes. Also see: [npm should never be capitalized](https://github.com/npm/cli#is-it-npm-or-npm-or-npm)

### Search Terms Node 20, reportTSError, error ### Expected Behavior When using the `ts-node/esm` loader with Node 18, TS errors are reported correctly. The file below when run with `node...

### Desired Behavior Consider a source file `src/package-a/index.ts` that will be transpiled by tsc to `build/package-a/index.js`, and a `package.json` that looks like this: ```json { "type": "module", "imports": { "#package-a":...

### Search Terms If I try to run the script src/index.ts, it results in this error ``` TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /home/chen/development/relatrack-backend/src/index.ts at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:160:9)...

v11 beta has been published to npm. https://www.npmjs.com/package/ts-node/v/11.0.0-beta.1 `npm install ts-node` will *not* give you the beta by default. You must do `npm install ts-node@beta` to install the beta tag....

### Desired Behavior When starting a REPL using `node`, `.clear` is an alias for `.break` ```shellsession $ node > .help .break Sometimes you get stuck, this gets you out .clear...

### Search Terms ESM import paths ### Expected Behavior I expect `ts-node` to be able to run typescript code using ESM module imports. However , it either fails with ```...

### Search Terms `ts-node` `finalhandler` `require` ### Expected Behavior Running project without problems ### Actual Behavior Failed to start ### Steps to reproduce the problem Run `yarn start:dev`: `nodemon --watch...

Just when I was thinking TS/node ecosystem isn't too bad, this happened. I had a sudden need for a REPL, as I am used to it from Python: ``` ~/W/r/rwdom/domlib...

### Search Terms ts-node esm `"Uncaught SyntaxError: Unexpected token 'export'"` ### Expected Behavior REPL should work in package - ` "type": "module",` ### Actual Behavior I see last release v10.9.1...