Today i started build my first app with appwrite ❤️
and i working with tutorial on apwrite.io but my console is logging:
./node_modules/node-fetch/lib/index.js
./node_modules/cross-fetch/dist/node-ponyfill.js
./node_modules/appwrite/dist/esm/sdk.js
./src/lib/context/user.tsx
⚠ ./node_modules/node-fetch/lib/index.js
Module not found: Can't resolve 'encoding' in '/Users/sta/WebstormProjects/appwrite-project/node_modules/node-fetch/lib'
Import trace for requested module:
./node_modules/node-fetch/lib/index.js
./node_modules/cross-fetch/dist/node-ponyfill.js
./node_modules/appwrite/dist/esm/sdk.js
./src/lib/context/user.tsx```
Install the encoding package
oh, It really works. Thank you. But it's not mentioned anywhere.
ya...are you using nextjs?
yes
im pretty sure i've only seen this with nextjs...and when executed in the edge runtime
i hate nextjs 😜
I noticed 😅 You only have documentation for pure React
Recommended threads
- SSR Auth with Tanstack Start requires ha...
I followed the Next.js guide for SSR Auth on https://appwrite.io/docs/tutorials/nextjs-ssr-auth/step-1 I tried to replicate it for Tanstack Start. However, on...
- Invalid token passed in the request
Hello, I have an issue using updateMagicURLSession. I send the email using sendMagicLink, which works fine. When i click the link in the email i get the invali...
- how can i make a relationship between a ...
i want to relate the $id from users auth table in appwrite with other column in my table user_profile. because is the same user... how can i have exactly the s...