Javascript Invalid or Unexpected token (\u0)
I had the same issue, it's caused by the VM.
For NGINX in the location / block add the sendfile off setting.
location / {
...
sendfile off;
}
For Apache, look for EnableSendfile in httpd.conf and set it to off:
EnableSendfile off
You must restart the services for the changes to take effect, hard refresh in your web browser (CTRL+F5) is required to see the change in effect.
EnableMMAP and EnableSendfile: On systems that support it, memory-mapping or the sendfile syscall may be used to deliver files. This usually improves server performance, but must be turned off when serving from networked-mounted filesystems or support for these functions is otherwise broken on your system.