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
- Google Auth not working in a React App
Authentication with Google has failed. It redirects back to the signin route in React. Attached screenshots for configuration of Google console and Appwrite Go...
- Dokploy docker compose
Hey guys hope y'all doing well, I was wondering if anyone could share a working 1.8.0 docker-compose that works with Dokploy I tried making it but it just does...
- i need help!
I was working on my project and I just can't stop receiving this message. Is something wrong?