mubaidr/vue-electron-template

Update to the latest version , the MAC can't build

Closed this issue · 4 comments

Update to the latest version , the MAC can't build

Previus version worked fine?

I will take a look. In the meantime please make sure you are not using dev branch.

Electron is already available in the local area. When pack it, it will download electron again.sometimes download error. so i failed .how can i do not download it when pack it.

Electron uses different versions for development and build. But if you have already built the application once using an older version, please replace the same version in package.json. i.e.

replace this:

"electron": "^2.0.6",

with:

"electron": "2.0.4",

This will make sure that electron download the exact 2.0.4 version to pack/build application.

I am closing this issue, If you think this is still not solved please feel free to re-open this issue.