You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 26, 2019. It is now read-only.
This change here: TypeStrong/ts-loader#621 results in the build failing because it is now using src/src as a root directory instead of src.
If anybody else gets blocked by this, the quick workaround is to change in tsconfig.json
"rootDir": "src",
to "rootDir": ".",
To reproduce, just run create-react-app testing_app --scripts-version=react-scripts-ts and then run the build, and see:
error TS6059: File '/Users/alex.petty/src/testing_app/src/App.test.tsx' is not under 'rootDir' '/Users/alex.petty/src/testing_app/src/src'. 'rootDir' is expected to contain all source files.
mvelker, martijndeh, jrehwaldt, ashokdudhade and cdock1029