question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Magepack never ends process with no error

See original GitHub issue

I’m trying to generate the bundler configuration but I can’t. First, it gave me timeout errors. So I increased the timeout. But now it never ends the process with no error (with --debug). The website also works perfectly with no JS error in the console. The only output is:

ℹ Collecting bundle modules in the browser.                                                                                                                                
ℹ Collecting modules for bundle "category"

What can I do to debug more?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:8
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
laurntscommented, Apr 20, 2021

This issue with “infinite loading” mostly happens when the page it’s self is already loading Magepack bundle-common and Magepack bundle(categories / checkout / etc)… So when you’re re-running Magepack (especially to generate new magepack.config.js) You need to prevent existing magepack bundle js loading in the Dom.

php bin/magento config:set dev/js/enable_magepack_js_bundling 0
php bin/magento cache:flush

… now you can run the magepack generate and magepack bundle After it’s finished, re-activate Magepack

php bin/magento config:set dev/js/enable_magepack_js_bundling 1

Include this sequence in your deployment sequence and that should be good.

3reactions
IvanChepurnyicommented, Jul 14, 2020

Run into similar issues before, solution is to run it with --debug mode and when it shows you chromium window you can open console and check JS error.s. Usually for me it was a result of some third-party script loading forever or JS file having error in console.

Read more comments on GitHub >

github_iconTop Results From Across the Web

msiexec language pack install repeats and never finishes
Hi, I'm having a few issues with msiexec. I started noticing it after I tried to update visual studio 2019 and it kept...
Read more >
Build Fails with "Error:The process '/usr/bin/dotnet' failed with ...
I need not want to build the Project again as the Previous task have already build the Project and locked the Assembly version...
Read more >
Quick Tips to Troubleshoot Common SmartDeploy Errors
If you're setting up SmartDeploy and hit a snag, there's likely a simple fix that will get you up and running in no...
Read more >
How to get the GitHub Student Developer Pack without a ...
The application process may take a little longer during times where we receive high volumes of applications, such as the start of a...
Read more >
10 common problems with order picking...and how to solve them
This is not only a lengthy process, it is also highly inefficient and leaves a large margin for error due to lost or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found