Error [ERR_PACKAGE_PATH_NOT_EXPORTED]:

when I am trying to run the npx drizzle-kit studio I am getting an error, PFA.
{
"private": true,
"scripts": {
"dev": "next dev --turbo",
"build": "next build",
"start": "next start",
"test": "vitest"
},
"dependencies": {
"@auth/drizzle-adapter": "^1.7.2",
"@hookform/resolvers": "^3.9.0",
"@neondatabase/serverless": "^0.9.3",
"@nextui-org/react": "^2.4.8",
"@radix-ui/react-avatar": "^1.1.1",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-toast": "^1.2.2",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"dotenv": "^16.4.5",
"drizzle-orm": "0.30.10",
"framer-motion": "^11.11.1",
"lucide-react": "^0.453.0",
"next": "^15.0.1",
"next-auth": "^5.0.0-beta.22",
"pinata": "^1.5.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.53.0",
"tailwind-merge": "^2.5.4",
"tailwindcss-animate": "^1.0.7",
"zod": "^3.23.8"
},
"devDependencies": {
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.0.1",
"@types/node": "20.8.10",
"@types/react": "18.2.33",
"@types/react-dom": "18.2.14",
"@vitejs/plugin-react": "^4.3.3",
"autoprefixer": "^10.4.20",
"drizzle-kit": "^0.26.2",
"jsdom": "^25.0.1",
"postcss": "^8.4.47",
"tailwindcss": "^3.4.13",
"tsx": "^4.19.1",
"typescript": "^5.2.2",
"vitest": "^2.1.3"
}
}
{
"private": true,
"scripts": {
"dev": "next dev --turbo",
"build": "next build",
"start": "next start",
"test": "vitest"
},
"dependencies": {
"@auth/drizzle-adapter": "^1.7.2",
"@hookform/resolvers": "^3.9.0",
"@neondatabase/serverless": "^0.9.3",
"@nextui-org/react": "^2.4.8",
"@radix-ui/react-avatar": "^1.1.1",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-toast": "^1.2.2",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"dotenv": "^16.4.5",
"drizzle-orm": "0.30.10",
"framer-motion": "^11.11.1",
"lucide-react": "^0.453.0",
"next": "^15.0.1",
"next-auth": "^5.0.0-beta.22",
"pinata": "^1.5.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.53.0",
"tailwind-merge": "^2.5.4",
"tailwindcss-animate": "^1.0.7",
"zod": "^3.23.8"
},
"devDependencies": {
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.0.1",
"@types/node": "20.8.10",
"@types/react": "18.2.33",
"@types/react-dom": "18.2.14",
"@vitejs/plugin-react": "^4.3.3",
"autoprefixer": "^10.4.20",
"drizzle-kit": "^0.26.2",
"jsdom": "^25.0.1",
"postcss": "^8.4.47",
"tailwindcss": "^3.4.13",
"tsx": "^4.19.1",
"typescript": "^5.2.2",
"vitest": "^2.1.3"
}
}
No description
1 Reply
Boby
BobyOP2mo ago
it was working fine in the past, a few days back, I deleted the node modules and package.lock.json and then reinstalled it because I was getting some another bug in my next.js, that is fixed but now I am facing this unexpected bug
Want results from more Discord servers?
Add your server