Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yarn 2 support #148

bfourgeaud opened this issue Mar 16, 2021 · 0 comments

Yarn 2 support #148

bfourgeaud opened this issue Mar 16, 2021 · 0 comments


Copy link


It seems that this package doesn't support yarn 2 "berry".
Everything work fine until I upragded to new version.

It throws me this error each time I edit a file :

Failed to load plugin 'import' declared in '.eslintrc.js » @nuxtjs/eslint-config': Your application tried to access eslint-plugin-import, but it isn't declared in your dependencies; this makes the require call ambiguous and unsound.

Required package: eslint-plugin-import (via "eslint-plugin-import")
Required by: E:...

Require stack:

I din't find a workaround on this problem.

I am using Visual studio Code (Configured Yarn to be the packet manager)


module.exports = {
  root: true,
  env: {
    browser: true,
    node: true
  parserOptions: {
    parser: 'babel-eslint'
  extends: [
  plugins: [
  // add your custom rules here
  rules: {}


  "name": "...",
  "version": "1.0.0",
  "private": true,
  "scripts": {
    "dev": "nuxt",
    "build": "nuxt build",
    "start": "nuxt start",
    "generate": "nuxt generate",
    "lint:js": "eslint --ext \".js,.vue\" --ignore-path .gitignore .",
    "lint": "yarn lint:js"
  "dependencies": {
    "@nuxtjs/axios": "^5.12.5",
    "core-js": "^3.8.3",
    "nuxt": "^2.14.12"
  "devDependencies": {
    "@nuxtjs/eslint-config": "^5.0.0",
    "@nuxtjs/eslint-module": "^3.0.2",
    "@nuxtjs/tailwindcss": "^3.4.2",
    "autoprefixer": "^9",
    "babel-eslint": "^10.1.0",
    "eslint": "^7.18.0",
    "eslint-plugin-nuxt": "^2.0.0",
    "eslint-plugin-vue": "^7.5.0",
    "postcss": "^7",
    "tailwindcss": "npm:@tailwindcss/postcss7-compat@*"

Thank you for your help on this subject, maybe I am just doing something wrong ...

@pi0 pi0 closed this as completed in 80f0b89 May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

1 participant