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

Unable to deploy via method 1 "cloudflare deploy" #11

Open
shivang2607 opened this issue Dec 2, 2024 · 2 comments
Open

Unable to deploy via method 1 "cloudflare deploy" #11

shivang2607 opened this issue Dec 2, 2024 · 2 comments

Comments

@shivang2607
Copy link

I tried method 1 to deploy the proxy however at the publish step it failed stating

Uncaught SyntaxError: Cannot use import statement outside a module
at worker.js:1
[API code: 10021]

Please help

@Gratenes
Copy link
Owner

I tried method 1 to deploy the proxy however at the publish step it failed stating
Uncaught SyntaxError: Cannot use import statement outside a module at worker.js:1 [API code: 10021]
Please help

Hey! Were you able to resolve the issue? Also, which proxy are you using for deployment?

Hi sorry for the slow response, Please git clone and use the CLI tool to deploy. The deployment button does not work for some reason.

Make sure you use the /v2 path when using the proxy as well. The / path is deprecated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@Gratenes @shivang2607 and others