SimulatedGREG / electron-vue

An Electron & Vue.js quick start boilerplate with vue-cli scaffolding, common Vue plugins, electron-packager/electron-builder, unit/e2e testing, vue-devtools, and webpack.
https://simulatedgreg.gitbooks.io/electron-vue/content/
MIT License
15.48k stars 1.55k forks source link

Breaking Changes {On Update} #1040

Open wr125 opened 4 years ago

wr125 commented 4 years ago

Found an issue or bug with electron-vue? Tell me all about it!

Breaking changes on update as the default file extension is src/index.ejs

Describe the issue / bug.

receive the error message; ERROR in Template execution failed: ReferenceError: process is not defined

ERROR in ReferenceError: process is not defined

- index.ejs:11 eval
  [.]/[html-webpack-plugin]/lib/loader.js!./src/index.ejs:11:2

- index.ejs:16 module.exports
  [.]/[html-webpack-plugin]/lib/loader.js!./src/index.ejs:16:3

- index.js:284 
  [elect]/[html-webpack-plugin]/index.js:284:18

- task_queues.js:97 processTicksAndRejections
  internal/process/task_queues.js:97:5

Child html-webpack-plugin for "index.html": Asset Size Chunks Chunk Names index.html 1.37 MiB 0
Entrypoint undefined = index.html [./node_modules/html-webpack-plugin/lib/loader.js!./src/index.ejs] 1.14 KiB {0} [built]

How can I reproduce this problem?

follow the instructions to update then yarn run dev

If visual, provide a screenshot.

no screenshort

Tell me about your development environment.
exislow commented 4 years ago

Have the same error. Using macOS Catalina. What is going on? Any help here?

Stasmo commented 3 years ago

Same issue on Windows.

jwoodrow99 commented 3 years ago

Same issue, attempted with yarn and did not include any extras on init, all attempts result in the same issue.

Node: 14.15.1 NPM: 7.5.6 Vue CLI: 4.5.9 Operating System: macOS Catalina 10.15.7