ts_node : The term ‘ts_node’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
- ts_node
-
+ CategoryInfo : ObjectNotFound: (ts_node:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
I tried all solutions mentioned here in stackoverflow and some others but could not help me. Still giving me same error.I paste in whole error message here above. I installed ts_node locally and globally.
use these commands
Locally in your project.
npm install -D typescript
npm install -D ts-node
Or globally with TypeScript.
npm install -g typescript
npm install -g ts-node
I am using nodejs 18 and window 11, npm version 10.1.0, typescript: 5.2.2
But it’s not work for me. Can anyone help me thanks in advance.