i am struggling with using the payload's local API feature in astro project.
each time i want to build the project or run the dev server there is a SyntaxError related to the payload instance init call (see screenshot).
I have made a repo so you can reproduce the issue.
in order to trigger the error just go to the home page (localhost:8080/) when running the dev server (bun run web:dev).
have one of you already encountered this issue ?
#payload + astro + local API
5 messages · Page 1 of 1 (latest)
Help is on the way! To mark it as solved, use the /solve command. In the meantime, here are some existing threads that may help you:
Documentation:
update: I have finally been able to run it in the docker container. but still no luck running it on my machine (macOS Seqoia 15.0.1).
I precise that I am using astro v5 beta.8 and payload 2.30.
@sonic whale have you tried this setup with Payload 3?