Home

Issue: 3216

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

[issue link]

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

This bug report is available on Nuxt.js community (#c6888)