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
Following the docs, when an empty tsconfig.json file is in the root running next dev throws the following error after installing the typescript packages:
error TS18003: No inputs were found in config file 'tsconfig.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '[]'.
To Reproduce
touch tsconfig.json
npm run dev
# Install the packages as recommended
npm run dev
Expected behavior
The tsconfig.json file should be auto-configured with default values as per the docs.
System information
macOS 10.14.5
Next 9.0.3
@types/node: 12.7.1
@types/react: 16.9.1
typescript: 3.5.3
The text was updated successfully, but these errors were encountered:
New versions of TypeScript now throw an error when no matching TypeScript files are found. We still want to setup in this case.
-----
Closesvercel#8324
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
vercel
locked as resolved and limited conversation to collaborators
Jan 31, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug report
Describe the bug
Following the docs, when an empty
tsconfig.json
file is in the root runningnext dev
throws the following error after installing the typescript packages:To Reproduce
Expected behavior
The
tsconfig.json
file should be auto-configured with default values as per the docs.System information
The text was updated successfully, but these errors were encountered: