-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Asset compile hangs on [Webpacker] Compiling assets #1217
Comments
Compiling assets could take a very long time. How long have you let it run? |
@Praneeta Ahh I see, could you run this locally and see what happens:
|
Also, how big is the app? Is it using angular? And how are the entry points structured i.e. what do you have in the |
@gauravtiwari Thanks for the tip on running it directly. Seems like uglifying the files is slowing (@catskull - it did not finish under 30 mins, then I stopped it.) the process. |
|
Great 👍 Yeah you can try DLL plugin for further speed optimisation: https://webpack.js.org/plugins/dll-plugin/ Example: #702 |
In my case, I have to set |
Trying to run NODE_ENV=production RAILS_ENV=development bundle exec rake assets:precompile --trace locally
It basically hangs at [Webpacker] Compiling assets 🎉
I cannot really tell what it's doing then.
I checked my output path packs. The files are generated but are completely empty.
Any suggestions?
I had trouble running webpacker, needed to increase the allocated memory - more about that in #1189 .
The text was updated successfully, but these errors were encountered: