[Vuejs]-Random javascript runtime errors on Laravel + Vue

0πŸ‘

βœ…

It turns out it was an error with apache.

Checking the app.js with the browser I confirmed that everytime the file content was different due to corruption so I narrowed the possible issues to something related to the file downloading.

First I tried downgrading apache from 2.4 to 2.2 and the error was fixed.

Investigating further I looked for possible corruption errors on file downloaded from apache and I found this answer. I then tried to keep apache 2.4 while enabling the option EnableSendfile in the httpd.conf but it didnt work, I then tried disabling EnableMMAP and I finally fixed the issue!

-1πŸ‘

This kind of error come from javascript side,I think your Vue configuration is not correct or there is something missing, or there is a function that is not called in there right way.In general you better look in javascript code side.hope that would help.

Leave a comment