'ts-node' is not recognized as an internal or external command, operable program or batch file : <p>I'm getting error in my Vs Code terminal and command prompt that <strong>'ts-node' is not recognized as an internal or external command, operable program or batch file.</strong> while i'm trying the start command in the terminal <strong>npm run dev</strong> and i have added my package.json file also.</p>

<pre><code>{
"name": "tsnode",
"version": "1.0.0",
"description": "ts-node experiment.",
"scripts": {
    "dev": "nodemon --exec 'ts-node --cache-directory .tscache' ./server.ts",
    "start": "ts-node --fast ./server.ts"
},
"author": "Mugesh",
"license": "ISC",
"dependencies": {
    "@types/body-parser": "^1.16.3",
    "@types/chalk": "^0.4.31",
    "@types/express": "^4.0.35",
    "@types/node": "^7.0.18",
    "body-parser": "^1.17.1",
    "chalk": "^1.1.3",
    "express": "^4.15.2",
    "nodemon": "^1.11.0",
    "ts-node": "^3.0.4",
    "typescript": "^2.3.4"
}
</code></pre>

<p>}</p>
