Top "Ts-node" questions

Short for TypeScript Node.

'ts-node' is not recognized as an internal or external command, operable program or batch file

I'm getting error in my Vs Code terminal and command prompt that 'ts-node' is not recognized as an internal or …

node.js typescript2.0 ts-node
Is there a way to use npm scripts to run tsc -watch && nodemon --watch?

I'm looking for a way to use npm scripts to run tsc --watch && nodemon --watch at the same …

typescript npm nodemon tsc ts-node
TypeError: Object prototype may only be an Object or null: undefined

Below if I import Entity I get the posts's subject error (TypeError: Object prototype may only be an Object or …

javascript node.js typescript ts-node
Importing nodejs `fs` with typescript when executing with ts-node?

I'm trying to run the following code with ts-node. import { writeFileSync, readFileSync } from 'fs'; However I get: src/main/ts/…

node.js typescript typescript2.2 ts-node
Cannot find module that is defined in tsconfig `paths`

I am trying to setup aliases for my mock server. Whenever I try to compile ts files, it returns error …

typescript alias tsc tsconfig ts-node
Why does the node inspector not start when I am using nodemon and ts-node?

I have a simple node server written in typescript. My package.json is configured as: "scripts": { "build": "tsc", "dev": "nodemon …

node.js typescript debugging nodemon ts-node
ts-node cannot find module typescript

I'm deploying a dockerized typescript app on AWS. When I run the app container I get a ts-node error Error: …

typescript docker package.json nestjs ts-node
internal/modules/cjs/loader.js:800 throw err

Executed yarn install in my project folder and got below error. internal/modules/cjs/loader.js:800 throw err; ^ Error: Cannot …

javascript node.js npm yarnpkg ts-node
Ts-node : SyntaxError: Cannot use import statement outside a module

I was trying to use the top level in the project and saw that it was necessary to change the …

typescript ts-node
ts-node ignores d.ts files while tsc successfully compiles the project

Having compiled my TypeScript project successfully, I intended to run it in VS Code's debug mode using ts-node. Problem is, …

typescript typescript-typings ts-node