Rak_Master's avatar

Laravel 5.4 mix-manifest unexpected error

When running npm run dev, everything compiles fine, but Chrome gives me the error "Uncaught SyntaxError: Unexpected token :" in mix-manifest.json. I put the file through jsonlint.com and it validates just fine. Chrome seems to think that on line 1 the colon that separates the first name / value pair is an illegal character.

0 likes
1 reply
ejdelmonico's avatar

Which Chrome version and platform? Also, why would chrome read the mix-manifest.json file. The server should have injected the values before sending the page.

Please or to participate in this conversation.