I came across two major problems when I tried to pack and build the app written with electron-vue.
ERROR in renderer.js from UglifyJs
Unexpected token: name (warn) [renderer.js:29054,4]
I tried several solutions mentioned in other issues but none of them worked, and only the workaround in #174 by @deboyblog succeeded. I think my error has something to do with "lodash", which is the only dependency that I installed as a universal library and uses the "_" as the variable name. Anyway, only by removing the corresponding configuration in webpack.renderer.config.js
can I make it to pack.
#
#
Many thanks for your project, and it does help me a lot in building a cross-platform app. I hope that someone can join in looking into the problems above, since they are quite significant for an ultimate outcome (packing and building), or at least there is a link in the README referring to the workarounds.
Fix has been pushed the dev branch. Check #171 for more info on final release.
Hello ,
I have same problem.
I tried with the solution here #200
and here https://github.com/SimulatedGREG/electron-vue/commit/abe2e84f3174ea295f58addd4a2e666857f93867
but still the problem is on and the build result is the old blank App
thx,,
+1
I tried to init template and build it immediatly:
$ vue init simulatedgreg/electron-vue el-test
$ cd el-test
& yarn && yarn run build:win32
and I have result is blank app window
there is no console errors
Versions:
Microsoft Windows: 10.0.15063
vue-cli: 2.8.2
npm: 5.2.0
yarn: 0.27.5
node: 7.10.0
Most helpful comment
Hello ,
I have same problem.
I tried with the solution here #200
and here https://github.com/SimulatedGREG/electron-vue/commit/abe2e84f3174ea295f58addd4a2e666857f93867
but still the problem is on and the build result is the old blank App
thx,,