-
Notifications
You must be signed in to change notification settings - Fork 64
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
Error with deploy command #485
Comments
Does this work with |
same issue |
What id the result of |
same issue, this
After I investigated, it turned out that because the error on wrangler version and solved when using This for following the guide https://hub.nuxt.com/docs/getting-started/installation#add-to-a-nuxt-project |
Tried downgrading wrangler as suggested by @narr07 and it didn't work for me, then I updated to latest wrangler version 3.111 and somehow it worked. The version of wrangler when it wasn't work was: 3.109.2 Deploying has been unstable for me even before this issue, my project is a pnpm monorepo and this app is one of many, not sure if this affects anything. Not sure if this issue should be closed. |
What about wrangler v4? |
Recreating lockfile, making sure to use latest nuxt version should resolve most of issues related to hoisted versions (wrangler has it's own new hoist protection mechanism, so upgrading it should also help) If still you have issues and sharing full reproduction is not possible, sharing |
Describe the bug
when running:
pnpm dlx nuxthub@latest deploy --dotenv .env.production
getting this error:
Steps to reproduce
Expected behavior
Deploy should work
The text was updated successfully, but these errors were encountered: