-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React + TS build not working #1014
Comments
|
Man, I just sent on July, since then many things has changed. If some one is still having this issue and want to contribute go ahead. |
I am doing spring cleaning of all the issues and I noticed we no longer have the error mentioned here as we are now using CRA |
It's mid 23 and I'm seeing this issue....... |
🐛 bug report
It's not possible to download and build React Typescript, just because of the wmonk/create-react-app-typescript recent changes.
Steps to reproduce:
1 - Create a React+TS sandbox
2 - Download it
3 - npm install & npm run build
Whats wrong?
1 - Failed to load tsconfig.json: Missing baseUrl in compilerOptions
2 - Cannot find "$PATH/tsconfig.prod.json" file.
Is there a related issue?
wmonk/create-react-app-typescript#322
Actually, to solve this I made 2 simple steps:
1 - compilerOptions.baseUrl = '.' > tsconfig.json
2 - { 'extends': './tsconfig.json' } > tsconfig.prod.json
Although the sandbox is already using the fixed version ("^2.13.0" which resolves to "2.16.0") there are still missing files.
The text was updated successfully, but these errors were encountered: