>  Q&A  >  본문

npm init nuxt-app에서 "'.eslintrc.js » @nuxtjs/eslint-config'에 선언된 'unicorn' 플러그인을 로드할 수 없습니다"라는 문제가 발생합니다.

명령을 사용하여 Nuxt 애플리케이션을 만들려고 합니다.

npm nuxt-app 초기화 ​​

프로젝트를 설치하면 이런 오류가 발생합니다

npm init nuxt-app에서는 "'.eslintrc.js » @nuxtjs/eslint-config'에 선언된 'unicorn' 플러그인을 로드할 수 없습니다"라는 문제가 발생합니다.

프로젝트를 빌드하면 이런 모습이 됩니다

여기가 내가 앉아 있는 곳.eslintrc.js 누구든지 나를 도와줄 수 있나요

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粉706038741P粉706038741298일 전490

모든 응답(1)나는 대답할 것이다

  • P粉459578805

    P粉4595788052023-12-27 00:51:47

    방금 다른 버전의 nodejs(16.0.0)를 사용했는데 모든 것이 괜찮습니다.

    회신하다
    0
  • 취소회신하다