Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Shadowalker's avatar

Laravel homestead Cross-Origin Request blocked.

Fresh install of laravel homestead and updated vagrant. I installed breeze and when trying to load the website, the default laravel page loads just fine. The login page however returns a Cross-origin request blocked. I thought it may be an extension, so I ran with no extensions and even installed the SSL cert so firefox wouldn't have an exception. Instead the page loads with no js or css.

EDIT: seperate issue, but i think its related. When I run

npm run dev

I just get an error that says, max watched files limit reached. So I upped that, and now it just hangs. I don't know if its supposed to complete but im not adding the -watch command.

0 likes
1 reply
Shadowalker's avatar
Shadowalker
OP
Best Answer
Level 2

I fixed it, apparently you must run

npm run build first then the site will work correctly.

Please or to participate in this conversation.