My app is now a directory listing.
Go to bed, wake up, then start the project to suddenly have a directory listing instead of an app.
No, sorry, I have no idea.
This has happened before, for seemingly no reason. I don't know why. It just stopped doing it the last time.

And it fixed itself again. Interesting. Don't ask, I don't know.
if u have some eslint error then it will show this page
Got the exact same problem ....
It looks like this happens if you have a fatal error in your app (in my case it was a failed import), close the electron-vue application, and then try to reopen it. As soon as I've fixed it, the app loads ok. So maybe @sustained you fixed the error before opening the app again - or moved a file that was imported ?
Hope this helps.
I got the same but without electron, any insights?
I have this on a fresh install of the boiler plate.
@KrustyC @clementvp check thoroughly the console messages. There should be something logged.
@clementvp maybe you have an outdated version of npm / node / library ?
Same problem here. Even if this is a developer mistake, I guess this should better be handled differently. Even stopping with an error would be better I think...
In my case I had removed axios, re-installed that dependency and I am fine now.
Edit : Ok it is working now. I don't know how. It's magic
I have same problem today. It was working last day. I changed nothing. nothing updated. Today suddenly it shows directory list. Please any solution. I have deadline. and cant figured out it by myself.
I removed axios still not works.
This just happened to me. I walked my project changes back to yesterday when everything worked but I still have the same directory listing. I just pushed the code to a Github Page and it runs there.
I have this same problem here. After installing the library moment.js the problem occurs and returning to what it was before did not resolve the problem. Any idea?
in my case I broke the file .eslintrc.js meanwhile I update node.js from 8 to 10 (in this process node-sass was broken too), for fix, check for .eslintrc.js file, use node 8, and reinstall node-sass: npm i -g node-sass, It's weird situation...
I had the port 3000 blocked by a another server from a different project.
( Browsersync runs on port 3000, even if you run your server on a different port)
No electron. just Vue + Nuxt.
for me, it is caused by a wrong src
Most helpful comment
if u have some eslint error then it will show this page