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

Deployments fail after upgrade to latest version #494

Closed
radum2o18 opened this issue Mar 7, 2025 · 6 comments
Closed

Deployments fail after upgrade to latest version #494

radum2o18 opened this issue Mar 7, 2025 · 6 comments
Labels
bug Something isn't working

Comments

@radum2o18
Copy link

Describe the bug
After upgrading to the latest version (0.8.18), deployments using npx nuxthub deploy or when building locally with pnpm build fail with the following error:

.nuxt/dist/server/server.mjs (21:18): "diff" is not exported by "node_modules/.pnpm/[email protected]/node_modules/ohash/dist/index.mjs", imported by ".nuxt/dist/server/server.mjs".

Environment:
OS: MacOS 15.3.1
Nuxt: 3.15.4
Wrangler: 3.109.2

Steps to reproduce
Steps to reproduce the behavior:

  1. Upgrade nuxthub to latest version
  2. Run npx nuxthub deploy / pnpm build
@radum2o18 radum2o18 added the bug Something isn't working label Mar 7, 2025
@radum2o18 radum2o18 changed the title Builds fail after upgrade to latest version Deployments fail after upgrade to latest version Mar 7, 2025
Copy link
Contributor

atinux commented Mar 7, 2025

Can you run npx nuxi info please?

@radum2o18
Copy link
Author



here it is :) please note I've reverted to the previous version just to be able to deploy; if required I can upgrade again.

Copy link
Contributor

atinux commented Mar 7, 2025

This is due to ohash v2, will be fixed in Nuxt 3.16 normally.

In the meantime could you try with this version of Nuxt UI ?

pnpm i https://pkg.pr.new/@nuxt/ui@e016fde

@radum2o18
Copy link
Author

Ran it just now, worked (saw that the new nuxt version dropped in the meantime as well)

@pi0
Copy link

pi0 commented Mar 7, 2025

ohash related issues should be gone by nuxt 3.16 + renew lock (if you spotted please consider sharing reproduction) -

@radum2o18
Copy link
Author

All good after the latest updates, thank you!

@atinux atinux closed this as completed Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants