D
D
Daniil Chashkov2019-06-27 16:21:29
JavaScript
Daniil Chashkov, 2019-06-27 16:21:29

Why is the Render process throwing errors (electron-vue)?

I did everything as written here: https://github.com/SimulatedGREG/electron-vue
Installed vuex, vuex-electron, vue-electron. Sass & scss, mocha did not install.
Why writes that there is no process?

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
[mytodo]/[html-webpack-plugin]/index.js:284:18
- task_queues.js:89 processTicksAndRejections
internal/process/task_queues.js:89:5

5d14c25082b53083338483.png
You can, of course, remove a couple of lines from index.ejs, then everything works, but I'm not sure if this is the best way.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question