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
- Appwrite console is too heavy
The Appwrite console is too heavy And all of my services broken Any support , please
- Cloud function deploy stucks in processi...
Been trying for the last hours to deploy my function but for whatever reason, alwasy stuck on processing!
- One-time Cloud migration blocked by data...
Hi, I’m blocked on a one-time migration from Appwrite Cloud to my self-hosted Appwrite instance. We already fixed the region issue, and the migration now corre...