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
- Custom Domains with Cloudflare for SaaS ...
Hi! I'm using Appwrite Cloud Sites with Cloudflare for SaaS for multi-tenant custom domains. Problem: Custom domain: donate.pekeetong.my → CNAME to sites.dono...
- [SOLVED] Get Relations when using Tables...
Hi there, I have a table containing a relation column with a one-to-many relationship to another table. When Using TablesDB.GetRow in "node-appwrite" i get all ...
- Appwrite loading issue with Nuxt UI
For some reason when I add nuxt ui to my nuxt 4 project, appwrite will build the project but the project website will load indefinitely. Without adding Nuxt UI,...