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 When the node version is 18.20.0, running TS-node --esm **.ts displays TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts". Runs successfully after the Node version is reduced to 16.20.2....

### ERR_REQUIRE_ESM: require() of ES Module I'm encountering the error "ERR_REQUIRE_ESM: require() of ES Module ..." whenever I install a new package or update an @types version. The specific module...

Hey Andrew (@cspotcode)! Hope you're doing well. I wanted to drop a quick heads up here on a potential issue. I'm not entirely sure if this is unexpected behaviour, so...

### Search Terms TS2345 screenshot ### Expected Behavior ``` error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. ``` ### Actual Behavior The [screenshot](https://github.com/TypeStrong/ts-node/blob/ddb05ef23be92a90c3ecac5a0220435c65ebbd2a/website/static/img/screenshot.png) on...

this Project is already dead , please friends use tsx or swc-node to instead it

Firstly, apologies if this thread comes across confused - because cjs -> esm really does have me confused. I'm trying to be a good citizen and move across, but it's...

I really struggled to think of the correct title for this, so please edit it as required. I went down a rabbithole today whilst moving one of our apps to...

Unable to run gulp command when gulpfile.ts is in TypeScript ### Expected Behaviour ``` npx gulp ``` Should build. Pass. ### Actual Behaviour ``` /home/michael-heuberger/code/binarykitchen/videomail.io ❯❯❯ npx gulp feature/typescript ✭...

### Search Terms register typecheck test ### Expected Behavior When using ``` const { register } = require('ts-node') register({ typeCheck: false }) ``` in my `.mocharc.js` for my mocha test...

When I try to import my module which contains declaration types, it comes out like this: ``` > import gcrypt from "./index" /data/data/com.termux/files/home/go-crypt/.ts:2 export {}; ^^^^^^ Uncaught SyntaxError: Unexpected token...