Open shockValue666 opened 1 month ago
I am having the exact same issue.
Work around by adding this to my package.json
{
"overrides": {
"react": "rc",
"drizzle": "0.31.0"
}
}
I'm getting the same "Found: react@18.3.1" error on other packages. Does anyone know what the culprit is?
Both of these return "empty" npm list -g react npm list react
https://stackoverflow.com/questions/78412358/i-am-getting-an-error-when-install-the-drizzle-orm-npm-package-in-my-nextjs-14-a the first solution here helped me.
What version of
drizzle-orm
are you using?0.30.10
What version of
drizzle-kit
are you using?0.21.4
Describe the Bug
I encountered a dependency conflict error while trying to install drizzle-orm in a project using react@18.3.1.
Steps to Reproduce 1.init project
i was expecting to be normally installed, instead i got this error;
Expected behavior
The drizzle-orm package should install without dependency conflicts.
Environment & setup
{ "name": "web", "version": "0.1.0", "private": true, "scripts": { "dev": "next dev", "build": "next build", "start": "next start", "lint": "next lint" }, "dependencies": { "dotenv": "^16.4.5", "drizzle-orm": "^0.30.10", "next": "14.2.3", "postgres": "^3.4.4", "react": "^18", "react-dom": "^18" }, "devDependencies": { "@types/node": "^20", "@types/react": "^18", "@types/react-dom": "^18", "drizzle-kit": "^0.21.4", "eslint": "^8", "eslint-config-next": "14.2.3", "postcss": "^8", "tailwindcss": "^3.4.1", "typescript": "^5" } }