
i getting error "Cannot find package 'undici'" I installed undici package and import like this:
import { fetch } from 'undici';

what's your function build settings?

Node-16.0

please share a screenshot of the build command section of the settings

even on locally i getting the error

Can you share your folder structure and your package.json?

{ "name": "azure", "version": "1.0.0", "main": "index.js", "scripts": { "test": "echo Error: no test specified && exit 1" }, "keywords": [], "author": "", "license": "ISC", "description": "", "dependencies": { "undici": "^6.21.3" } }
Recommended threads
- Oauth2-Error 400Invalid `success` param:...
My code: > await new Account(client).createOAuth2Session(OAuthProvider.Google, 'https://www.mydomain.online/home', 'https://www.mydomain.online'); I ha...
- Issue with Appwrite Function Execution –...
Hi all, I'm encountering an issue when calling an Appwrite function from my Flutter app. **Environment:** ```Flutter SDK: 3.27.3 Appwrite Flutter SDK: 16.1.0```...
- Storage server error
Hi! When I try to upload a video to Appwrite Storage, it gives me this error (it works with images but not with videos): ```[AppwriteException: Server Error]``...
