-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Build Web npm run build:web #626
Comments
npm run build:web
Same here ! After running I changed let webConfig = {
devtool: '#cheap-module-eval-source-map',
entry: {
web: path.join(__dirname, '../src/renderer/main.js')
},
+ node: {
+ fs: 'empty'
+ },
module: {
rules: [...]
}
...
} After that
Can anyone help me ? Many thanks ! |
Hm, on the latest version of this template I'm not running into the same error, but after looking at @CS-Tao 's suggestion we might still want to add that to the template. I tested on Windows 10 though, and with newer versions of the template and NPM (6.4.1). If someone could confirm this is still an issue or if the fix above should be added to the template, that would be appreciated! |
I have the same error: adding in webpack.web.config.js:
I recieve this error visiting index.html
electron-vue: latest |
I also have the same problem .. |
I have the same problem .how to solved this problem? |
After running
npm run build:web
and running on an http server withhttp-server
the folderdist / web
I have the following error in the console and the page is blankThe text was updated successfully, but these errors were encountered: