While attempting to create a Nuxt app, I used the command
npm init nuxt-app
During the project installation process, I encountered this error message
npm init nuxt-app resulted in an issue saying "Failed to load plugin 'unicorn' declared in '.eslintrc.js » @nuxtjs/eslint-config'"
and encountered a build error as shown below
https://i.sstatic.net/2NToA.png
Below is my .eslintrc.js
file, could someone please assist me
module.exports = {
root: true,
env: {
browser: true,
node: true,
},
parserOptions: {
parser: '@babel/eslint-parser',
requireConfigFile: false,
},
extends: ['@nuxtjs', 'plugin:nuxt/recommended', 'prettier'],
plugins: [],
// add your custom rules here
rules: {},
}