zenstackhq / zenstack

Fullstack TypeScript toolkit that enhances Prisma ORM with flexible Authorization layer for RBAC/ABAC/PBAC/ReBAC, offering auto-generated type-safe APIs and frontend hooks.
https://zenstack.dev
MIT License
2.19k stars 91 forks source link

Bug: npx zenstack@latest init is giving error becouse is installing prima 6 #1905

Open israelins85 opened 8 hours ago

israelins85 commented 8 hours ago

Description and expected behavior npx zenstack@latest init is giving error becouse is installing prima 6 Installing package "zenstack@2.9.4" with npm

Environment (please complete the following information): New project

Additional context npm error code ERESOLVE npm error ERESOLVE unable to resolve dependency tree npm error npm error While resolving: mantine-next-template@1.0.0 npm error Found: prisma@6.0.1 npm error node_modules/prisma npm error dev prisma@"^6.0.1" from the root project

israelins85 commented 8 hours ago

Resolved changing manually the package.json for "prisma": "^5.22.0" and "@prisma/client": "^5.22.0"