# first, use electron-vue build a project;
second, implement 'npm install' to install rely on;
third, implement 'npm run build:web' to build a web package and this step will erroneous.
#

Same for me
Same for me
Do you use vuex-electron?
If you use it, let's try this.
https://github.com/SimulatedGREG/electron-vue/pull/751
Try adding:
node: {
fs: 'empty',
},
to the webConfig variable, inside of the webpack.web.config.js file.
@SmilinSamurai Thank you. I tried the advice you gave and solved the problem.
Most helpful comment
Try adding:
to the webConfig variable, inside of the webpack.web.config.js file.