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
- Rate limit blocking bulk function re-cre...
Hi team, I am on Appwrite Cloud (project: staging-dataspace, SGP region). I am in the midst of deleting ~115 functions that were stuck with .fra.appwrite.run do...
- unable to create dynamic relationship co...
dynamic Column with this set {'type': 'relationship', 'relationType': 'oneToOne', 'key': 'columnrshipkey', 'relatedTableId': 'abcabcabc12341234', 'twoWay': fal...
- Sites builder failing with general_unkno...
Hi team, All Sites deployments in the Frankfurt region are failing with general_unknown since ~1 hour ago. No build logs are produced - just the error code aft...