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
Build freezes at building for web.browser when there are large number of js files in the imports directory in meteor 1.3 #6859
Comments
@tmeasday I'm stuck at this issue. Could you please help? |
Not sure if I could help here, but I was curious to know the best approach for debugging this issue. Here's what I did, with some help from the Meteor Tool README:
I see the app run until the point of From the browser (step 5) I don't see a way to open any files to set a breakpoint, so I think I'm missing a step or possibly doing this all wrong. Maybe someone has suggestions on how I can debug this better? Thanks. |
Hi @chip, Thanks for taking a look at this. When I do this, I see the following: On immediately loading node inspector: Not all the tool sources, but a couple of them. I put a break point in After hitting "continue", I now see the list of files populate on the LHS, and the tool stops at that line: I can now set breakpoints wherever. I'm not sure why it does that weird thing but that might help. |
@tmeasday - Thanks for following up. The problem for me is that the sources aren't listed. Would you please describe the steps that you followed to get them load? Thanks. |
@chip I'm really not sure what's different. I took the first screenshot above immediately on loading the node-inspector in the browser. |
Ok, I'm not sure what happened, but I reloaded the browser and was able to open files. I set a number of breakpoints, eventually getting to |
Actually, I just noticed it says |
got this issue as well using 1.3.4. sometimes it hangs sometimes the build takes ages, so it's difficult to say if it is systematic.
Build tools chain are expected to work. I have an app now which takes 15-20 min to build...when it works. I experienced much more complex system and the build was not so long, complicated and convoluted. This compares poorly with build time of strongly type languages such as C++ which rely on very agressive optimization compiler e.g gcc. I seriously consider leaving Meteor as it kills the productivity and makes me wonder if this is a reliable framework I can rely on. |
@tmeasday Any updates on this issue? |
@benjamn any thoughts on how the ecmascript cache could have gotten corrupted? |
Is anyone still experiencing this problem? If this was the case, it's likely a failed download which has been improved by various updates to the downloader. I'll close this if there are no objections. |
I've created a repo to demonstrate the issue https://github.com/aruntk/js-load-test
As stated in the title while building meteor gets frozen when I put a large number of js files inside imports directory even if I'm not importing them from the client/server. No error is shown in terminal.
I suspect this is because the ecmascript package going through all js files inside imports irrespective of whether I'm importing them or not.
I think this should change to - go through the files which the user is importing.
Another possible solution(although I prefer the first one) maybe implementing a babelrc file and add files in the ignore field.
The text was updated successfully, but these errors were encountered: