Closed meddhiaka closed 4 months ago
Hey there! The Pinata SDK is currently a Node.js only sdk, which means it can only be used server side. We will be looking into changing this in the future. In the meantime we do have an app router template which uses the API as a server side function you can check out: https://github.com/PinataCloud/pinata-app-router-starter
Found this error while trying to test the pinata officiel sdk in next14 project,
here is the code:
page.tsx
and the module
pinata.ts