-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
CRA Typescript: Compiling forever, if node_modules getting changed, while webpack is running #5679
Comments
Maybe, it is a similar issue like #5667. |
I wonder, how is it possible to have |
Example: npm link creates a symbolic link from the real application So, if you build the lib manually, the |
First of all, this issue is not related to CRA. CRA is a tool to generate a modern React app. You have an issue with webpack, which is a different tool. Then, it's totally expected to have a corrupted build in this case. Here is some documentation from the webpack website:
You can try to open an issue in https://github.com/webpack/webpack repository, but I bet nobody wants to support similar cases. So the eventual way for you: make a change -> compile -> see a change -> repeat |
Okay, I see your point. Best, |
@johannwagner wow, it really worked for you? What webpack version did you use? Any chance you can setup a demo? If it is true, we must find the cause. |
/cc @tabrindle see envinfo error please |
Thanks @Timer - on it. Update: I think this is a linux OS Version edge case where /etc/os-release is missing some info. It's actually already fixed in envinfo - I'll make a PR to update CRA to envinfo@5.11.1 |
@johannwagner feel free to run |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
This issue has been automatically closed because it has not had any recent activity. If you have a question or comment, please open a new issue. |
Is this a bug report?
Yes.
Did you try recovering your dependencies?
Yes.
Which terms did you search for in User Guide?
typescript, webpack, hangs
Environment
Whoops.
Steps to Reproduce
--typescript
Expected Behavior
(Write what you thought would happen.)
Webpack should compile the new files.
Actual Behavior
Webpack hangs forever on
Compiling...
. If you terminate the process, it exits with exit code 0, but the compile process won't terminate and is stuck on 100% CPU forever.Reproducible Demo
The text was updated successfully, but these errors were encountered: