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粉4595788052023-12-27 00:51:47
I just used another version of nodejs (16.0.0) and everything was fine.