Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails with node v12 #6

Open
ajithranka opened this issue Oct 29, 2019 · 0 comments
Open

Build fails with node v12 #6

ajithranka opened this issue Oct 29, 2019 · 0 comments

Comments

@ajithranka
Copy link

When using node v12.x, the build fails with the following error

  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
      [newfang_bastion]/[html-webpack-plugin]/index.js:284:18

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

As a temporary fix, downgrading the node version and reinstalling the node modules solves the issue.

$ nvm use v10
$ rm -rf node_modules
$ npm install
$ npm run build

There's a related thread on electron-vue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant