tailwindcss-custom-forms icon indicating copy to clipboard operation
tailwindcss-custom-forms copied to clipboard

Installation failed

Open Solotov opened this issue 2 years ago • 1 comments

npm i @tailwindcss/custom-forms

PS E:\src\project\orbicall2> npm i @tailwindcss/custom-forms npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: undefined@undefined npm ERR! Found: [email protected] npm ERR! node_modules/tailwindcss npm ERR! dev tailwindcss@"^2.2.7" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer tailwindcss@"^1.0" from @tailwindcss/[email protected] npm ERR! node_modules/@tailwindcss/custom-forms npm ERR! @tailwindcss/custom-forms@"*" 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! See C:\Users\AXA\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\AXA\AppData\Local\npm-cache_logs\2021-09-01T10_37_04_826Z-debug.log

# REPORT : npm resolution error report

2021-09-01T10:37:04.820Z

While resolving: undefined@undefined Found: [email protected] node_modules/tailwindcss dev tailwindcss@"^2.2.7" from the root project

Could not resolve dependency: peer tailwindcss@"^1.0" from @tailwindcss/[email protected] node_modules/@tailwindcss/custom-forms @tailwindcss/custom-forms@"*" from the root project

Fix the upstream dependency conflict, or retry this command with --force, or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.

Raw JSON explanation object:

{ "code": "ERESOLVE", "current": { "name": "tailwindcss", "version": "2.2.9", "whileInstalling": { "path": "E:\src\project\orbicall2" }, "location": "node_modules/tailwindcss", "isWorkspace": false, "dependents": [ { "type": "dev", "name": "tailwindcss", "spec": "^2.2.7", "from": { "location": "E:\src\project\orbicall2" } } ] }, "currentEdge": { "type": "dev", "name": "tailwindcss", "spec": "^2.2.7", "from": { "location": "E:\src\project\orbicall2" } }, "edge": { "type": "peer", "name": "tailwindcss", "spec": "^1.0", "error": "INVALID", "from": { "name": "@tailwindcss/custom-forms", "version": "0.2.1", "whileInstalling": { "path": "E:\src\project\orbicall2" }, "location": "node_modules/@tailwindcss/custom-forms", "isWorkspace": false, "dependents": [ { "type": "prod", "name": "@tailwindcss/custom-forms", "spec": "*", "from": { "location": "E:\src\project\orbicall2" } } ] } }, "peerConflict": null, "strictPeerDeps": false, "force": false }

Solotov avatar Sep 01 '21 10:09 Solotov

Use @tailwindcss/forms instead, this project (tailwindlabs/tailwindcss-custom-forms) is not compatible with Tailwind CSS v2.0+ and has been deprecated.

krish-adi avatar Sep 10 '21 17:09 krish-adi