Static GitHub Issues

[3216] [edge] Module build failed: TypeError: Cannot read property 'eslint' of undefined

prev: Problems with the generation of build files when using 'buildDir'
next: Error when using nuxt in electron SyntaxError: Unexpected token ...

Version

edge

Reproduction link

https://github.com/tdhulster/nuxt-edge

Steps to reproduce

npm install -g vue-cli vue init nuxt-community/starter-template nuxt-test npm uninstall nuxt npm install nuxt-edge -S npm run dev

What is expected ?

No error is thrown

What is actually happening?

Following error is thrown: Module build failed: TypeError: Cannot read property 'eslint' of undefined at Object.module.exports (/node_modules/eslint-loader/index.js:148:18)

You may use special comments to disable some warnings. Use // eslint-disable-next-line to ignore the next line. Use / eslint-disable / to ignore all warnings in a file.

Additional comments?

All comments and steps can be found in Readme as well

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This bug report is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c6888">#c6888</a>)</em></sub></div>