Open
Description
При попытке установить зависимость наблюдаю ошибку:
vite-eslint-app % npm install -D @feature-sliced/eslint-config
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/eslint
npm ERR! dev eslint@"^9.9.0" from the root project
npm ERR! peer eslint@">=6.0.0" from [email protected]
npm ERR! node_modules/eslint-plugin-boundaries
npm ERR! peer eslint-plugin-boundaries@">=2" from @feature-sliced/[email protected]
npm ERR! node_modules/@feature-sliced/eslint-config
npm ERR! dev @feature-sliced/eslint-config@"*" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" from [email protected]
npm ERR! node_modules/eslint-plugin-import
npm ERR! peer eslint-plugin-import@">=2" from @feature-sliced/[email protected]
npm ERR! node_modules/@feature-sliced/eslint-config
npm ERR! dev @feature-sliced/eslint-config@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /Users/main/.npm/_logs/2024-08-31T20_44_44_205Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: /Users/main/.npm/_logs/2024-08-31T20_44_44_205Z-debug-0.log
package.json
{
"name": "vite-app",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview"
},
"dependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@eslint/js": "^9.9.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^9.9.0",
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
"eslint-plugin-react-refresh": "^0.4.9",
"globals": "^15.9.0",
"typescript": "^5.5.3",
"typescript-eslint": "^8.0.1",
"vite": "^5.4.1",
"vite-plugin-eslint2": "^4.4.0"
}
}
Metadata
Metadata
Assignees
Labels
No labels