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

Devmaurice's avatar

Register on Spark

http://localhost:8000/undefined

NotFoundHttpException in RouteCollection.php line 161:

Am getting this error after submitting a simple register form on spark. This is the first installation

0 likes
6 replies
bobbybouwmann's avatar

Are you sure you have everything setup correctly? It seems that the javascript is not compiled!

Devmaurice's avatar

@bobbybouwmann It is . In the public/js/app.js and also in build forder there is a versioned one which i believe is referenced in welcome page correctly.

The welcome page is displaying correctly

Devmaurice's avatar

@bobbybouwmann At what point is the javascript file that is compiled added to the page because i cant see it anywhere in the Welcome.blade.php in spark folder. I can only see the css file added

<link href="{{ elixir('css/app.css') }}" rel="stylesheet"> 

but no javascript.

rgillera's avatar

I got the same problem. have you found the solution? Thanks for the reply

Please or to participate in this conversation.