
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
- Collection Permission issue
I am facing issue in my Pro account. "Add" button is disabled while adding permission in DB collection settings.
- Opened my website after long time and Ba...
I built a website around a year back and and used appwrite for making the backend. At that time the website was working fine but now when i open it the images a...
- Is it possible to cancel an ongoing file...
When uploading a file to storage, is there a way to cancel the upload in progress so the file is not saved or partially stored?
