Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix page ChunkLoadError: Loading chunk 0 failed.in nuxtjs + heroku?

enter image description hereI have created an app with nuxtjs and vee-validate and deployed to heroku but in local(nuxt build and nuxt start in local machine) when i press login button validation by vee-validate happening and everything fine but in heroku app, when pressing login button entire page refreshes and also "?" appended at the end of URL for example:- login to login? when login button clicked.help me in identifying this issue.thanks seems like js not running.

like image 622
sudhakar selva Avatar asked Nov 03 '25 22:11

sudhakar selva


1 Answers

Probably not the case for most people, but this was caused by an ad blocker for me. I disabled for my site, reloaded page, and all was well. Hope this saves someone else time. Found hint to this way down in https://github.com/nuxt/nuxt.js/issues/742

like image 57
tr00ks Avatar answered Nov 07 '25 09:11

tr00ks



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!