Having trouble setting up the environment for Angular 2 with TypeScript. Npm lite runs successfully, but after installing TypeScript and adding a script for the start, I encounter an error.
Error TS18003: No inputs were found in config file 'D:/practical/ang1/tsconfig.json'. The specified 'include' paths were '["**/"]' and 'exclude' paths were '["../wwwroot/app","node_modules/".]
Here is the snippet from package.json:
"scripts": {
"start": "tsc && concurrently \"npm run tsc:w\" \"npm run lite\"",
"test": "echo \"Error: no test specified\" && exit 1",
"lite": "lite-server",
"tsc": "tsc",
"tsc:w": "tsc -w"
},
And here is the content of tsconfig.json:
{
"compilerOptions": {
"lib": [ "es5", "dom" ],
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"removeComments": false,
"noImplicitAny": false
}
}
Any suggestions on how to fix this error?
Note:The first time "npm start" worked fine, but after deleting and resetting everything up, it caused the above issue.