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

relayclick's avatar

App.Js Not Found

Hi,

I recently integrated Spark on my project however when i try to go on the register or login pages and inspect element, I can see that app.js is returning a 404. If go on view-source, I can see the code for the register/sign up page however, the page still remains blank.

Moreover when I try accessing app.js, it returns this: NotFoundHttpException in RouteCollection.php line 161:

This is the error I see when I run gulp: http://i.imgur.com/82nNIko.png

Was wondering if anyone had insight on this?

Thanks!

0 likes
3 replies
eugenefvdm's avatar

Hi @relayclick ,

I have this exact same problem. Fresh install and blank screen on Login and Register.

Your reference to this url https://github.com/laravel/elixir/issues/354 is very useful, but the page actually contains about 10+ different solutions by at least that many people.

Please would you be more specific which of the various solutions on that page helped you?

kind regards, Eugene

christian_H's avatar

@eugenevdm ,

I was having the same problem. I fixed it by following the solution in the 6th comment in that thread.

I ran these commands

npm install babel-preset-es2015 --save

npm install babel-preset-react --save

and then ran gulp and it started working for me.

1 like

Please or to participate in this conversation.