Electron-vue: All of a sudden my app is a mere directory listing.

Created on 1 Mar 2018  路  14Comments  路  Source: SimulatedGREG/electron-vue

Describe the issue / bug.

My app is now a directory listing.

How can I reproduce this problem?

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.

If visual, provide a screenshot.

screenshot from 2018-03-01 14-31-23

Tell me about your development environment.
  • Node version: 7.10.0
  • NPM version: 4.2.0
  • Operating System: Fedora

Most helpful comment

if u have some eslint error then it will show this page

All 14 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pansila picture pansila  路  3Comments

rodrigomata picture rodrigomata  路  3Comments

jt-wang picture jt-wang  路  3Comments

alexiej picture alexiej  路  3Comments

webrtcn picture webrtcn  路  3Comments