http://www.cnblogs.com/xueyou.
is probably because of the dependency of using Taobao image installation. Here, I will clear the dependency and use npm to install and package the problem. You can try
if you use yarn
and scientifically surf the Internet
, there is still a problem of blank packing
.
look here
comment out
in the webpack.renderer.config.js file
.Object.keys (dependencies | | {}) .filter (d = >! whiteListedModules.includes (d))
https://github.com/SimulatedG.
what version of your NPM is it? If you open the DevTools console in the production environment and take a look at the error report, you will understand that https://github.com/SimulatedG.
I also want to know what's going on.
has the problem been solved?
all of you who have this problem are accustomed to using npm or cnpm commands to install dependencies and execute packaging, right?
Please delete the dependent library and try again with the officially recommended yarn command. This is how I solved it.
have you solved it? I'm in the same situation as you!
this is mostly caused by downloading dependencies with cnpm. Delete the node_modules of the project and try to install dependencies with npm. That's how I solved it.
I think it's mainly the path problem of the file you packed: dist
http://www.cnblogs.com/teemor.
took the electron-vue Demo of the official website and found it was still blank.
still can't find the problem, so angry!
just comment out
find webpack.renderer.config.js, find
nodeModules: process.env.NODE_ENV !== 'production'
? path.resolve(__dirname, '../node_modules')
: false
change to nodeModules:path.resolve (\ _\ _ dirname,'. / node\ _ modules')