0

I have this error in tsconfig.ts: file:

'No inputs were found in config file 'c:/Projects/Angular2//src/tsconfig.json'. 
 Specified 'include' paths were '["src/**/*.ts"]' and 'exclude' paths were '["node_modules"]'.'

This is my tsconfig.ts:

{
  "compilerOptions": {
    "target": "es5",
    "module": "commonjs",
    "moduleResolution": "node",
    "sourceMap": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "lib": ["es2015", "dom"],
    "noImplicitAny": true,
    "suppressImplicitAnyIndexErrors": true,
    "types" : ["node", "jasmine"],
    "typeRoots": [
      "../node_modules/@types"
    ]
  },
  "include": [ "src/**/*.ts" ],
  "exclude": [ "node_modules" ]
}

Angular 2 v.3 - rc.3, TS. How to implement this? in v.2.0.0 all be normal..

Eduard Arevshatyan
  • 648
  • 3
  • 18
  • 34
  • Please refer to [this](http://stackoverflow.com/questions/41211566/tsconfig-json-buildno-inputs-were-found-in-config-file). I think you have at least one ts file to compile. – Ali Shahzad Mar 16 '17 at 10:01
  • @Ali Shahzad thanks for quick answer. And now i have this error: `file: ''Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.'` – Eduard Arevshatyan Mar 16 '17 at 10:38

1 Answers1

0

I am also have the same issue after adding tsconfig.js file in soultion

then i have added on Test.ts file and added below mention line of code in tsconfig file

"include": ["**/*"]
,"exclude": ["node_modules","wwwroot" ]

then it work for me there is no error at all

I got answer from this link