npm init nuxt-app results in the problem "Cannot load plugin 'unicorn' declared in '.eslintrc.js » @nuxtjs/eslint-config'"
P粉706038741
P粉706038741 2023-12-26 09:55:21
0
1
489

I'm trying to create a Nuxt application using the command

npm initialize nuxt-app

By installing the project, this error will occur

npm init nuxt-app results in a problem "Cannot load plugin 'unicorn' declared in '.eslintrc.js » @nuxtjs/eslint-config'"

When building the project it looks like this

The following is where I sit .eslintrc.js, Can anyone help 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: {},
}

P粉706038741
P粉706038741

reply all(1)
P粉459578805

I just used another version of nodejs (16.0.0) and everything was fine.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!