Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 BUG: X [ERROR] Deployment failed! #8168

Open
emmaistherealdev opened this issue Feb 17, 2025 · 1 comment
Open

🐛 BUG: X [ERROR] Deployment failed! #8168

emmaistherealdev opened this issue Feb 17, 2025 · 1 comment
Labels
bug Something that isn't working needs reproduction Needs reproduction from OP

Comments

@emmaistherealdev
Copy link

Which Cloudflare product(s) does this pertain to?

Pages

What versions are you using?

wrangler 3.109.1

What operating system and version are you using?

window 11

Please provide a link to a minimal reproduction

No response

Describe the Bug

it shows the above mentioned bug when trying to deploy am using honojs, it seems to compile and build fine but flunks the command line deployment, I've tried using git hub to deploy but it seems to only work with workers and not pages, and this is not the first time deploying with command line

Please provide any relevant error logs

Failed to publish your Function. Got error: Uncaught ReferenceError: MessageChannel is not defined
at bundledWorker-0.07120147953541567.mjs:12414:11 in V2
at bundledWorker-0.07120147953541567.mjs:15319:24 in K2
at bundledWorker-0.07120147953541567.mjs:15322:10

@emmaistherealdev emmaistherealdev added the bug Something that isn't working label Feb 17, 2025
@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Feb 17, 2025
@penalosa
Copy link
Contributor

Thanks for reporting this! Would you be able to provide a reproduction repo that demonstrates the issue?

At a quick glance, it looks like you're trying to use the MessageChannel API, which isn't available in the Workers runtime.

@penalosa penalosa added the needs reproduction Needs reproduction from OP label Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that isn't working needs reproduction Needs reproduction from OP
Projects
Status: Untriaged
Development

No branches or pull requests

2 participants