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
Module build failed (sometimes) #9894
Comments
Hey @sebastianoblom! We really appreciate you taking the time to report an issue. The collaborators If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack |
This might be similar to #9621 |
Ran into this today. Been upgrading from 6 to 7, same basic environment as OP (though node |
Hello, Just writing to say i'm also encountering the exact same issue as the original post. Where initial builds with webpack -w would be fine and after some point in time subsequent builds would fail until process is re-run Issue was occurring on. I've tried upgrading everything to latest and issue still persists hope this helps. |
I have no idea about how to debug this issue. If anyone knows how to properly use Node's memory profiling tools, it would be appreciated 😅. |
Not sure exactly which version this might be fixed in (possibly via #9988?), but I've upgraded all my Babel stuff to |
I have the same problem. |
@narutowyh Could you share a repository which reproduces the issue? |
Since this issue has been inactive for a long time, I'll close it for now, feel free to reopen it if the issue persists. |
Bug Report
Current Behavior
Happening since I upgraded to babel 7 from babel 6.
Code is transpiled correctly upon running webpack. In watch mode I can modify the source code and babel transpiles accordingly. However, after a while/sometimes babel fails to build the module, with the following error msg;
There is nothing wrong with the code inputted into the transpiler. Killing webpack and run it again works fine until it happens again (without specific cause)
Input Code
Just plain simple react code that I truly know should transpile.
Expected behavior/code
Should successfully transpile in watch mode every time it builds.
Babel Configuration (.babelrc, package.json, cli command)
Environment
Possible Solution
Additional context/Screenshots
At first I thought it happend due to node 6 /npm 3.10.30, but a colleague of mine tried the setup on his machine. No problems at all in either node 6 (nvm) or node 8.
Seems to be specific to my machine somehow.
I have double checked global npm packeges not conflicting and also have tried a clean npm install on the project so I am certain there is no old babel-6 getting picked up.
I have the same problem with my configuration for ssr as well. It runs well for some time and then gets similar problems as described above.
It is also very hard to debug this as the problem happens occasionly (after like 5-30 rebuilds)
The text was updated successfully, but these errors were encountered: