TRPC install issue
Opened this issue · 2 comments
DokLaw commented
Hi guys! I can't install trpc with npm. Any suggestions? Thanks.
npm ERR! code ERESOLVE
ERESOLVE unable to resolve depency tree.
TheAshutoshGupta commented
instead of
"npm install @trpc/server @trpc/client @trpc/react-query @trpc/next @tanstack/react-query@^4.0.0 zod"
use
"npm install @trpc/server @trpc/client @trpc/react-query @trpc/next @tanstack/react-query zod"
anand-mukul commented
@DokLaw Here is how you can do it:
- Delete
node_modules
and.next
- Copy my
package.json
thenpnpm install
- Don't update the
package.json
file.
Demo: PDF Ninja Demo
Note: Check out my repository for reference 👍
You can also refer to this link for other issues: PDF Ninja Repository
If you find the project helpful, don't forget to give it a star ⭐️ on GitHub!