Error message change with changing from npm to yarn. Uploadthing doesn't work in either case.
My node.js
Error when using
npm
:
Error when using yarn
So I manually installed zod
with yarn add zod
and got the same message as npm
2 Replies
1: did you make sure to reinstall all your packages?
2: are you on node 18+?
1. yes, I did it in a different directory when i installed with yarn. Now have two complelty seperate folders. One with yarn and other with npm. I didn't mix and match my package managers.
2. As seen in the error message I'm running node v18.17.1