Modern Front-End Development for Rails: ERROR in tsconfig.json Chapter_01/01

@noelrappin

Running the webpack dev server, I receive the following warning:

ERROR in tsconfig.json
TS18003: No inputs were found in config file ‘tsconfig.json’. Specified ‘include’ paths were ‘["/*"]’ and ‘exclude’ paths were '["/*.spec.ts",“node_modules”,“vendor”,“public”]’.

This appears to be a complaint about their being no .ts files for webpack to chew on. I’ve been just putting an empty “dummy.ts” file in the packs directory, but there’s probably a better way to handle this.

3 Likes

Haven’t seen that one before, where in the book are you getting it?

I am getting the same error as well for every section in chapter 2.

Yes, this should go away if there’s a blank ts file, I’ll look into why its happening.