Home > Blockchain >  npm init nuxt-app results a problem "Failed to load plugin 'unicorn' declared in 
npm init nuxt-app results a problem "Failed to load plugin 'unicorn' declared in 

Time:12-23

I was trying to create Nuxt app using the command

npm init nuxt-app

by installing the project, it results in this error

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

while building the project as shown below

enter image description here

below my is my .eslintrc.js sitting, can anyone plz 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: {},
}

CodePudding user response:

I just Used another version of nodejs (16.0.0) and all is good.

  • Related