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

The requested module 'ohash' does not provide an export named 'digest' #3123

Open
Zae opened this issue Feb 24, 2025 · 3 comments
Open

The requested module 'ohash' does not provide an export named 'digest' #3123

Zae opened this issue Feb 24, 2025 · 3 comments

Comments

@Zae
Copy link

Zae commented Feb 24, 2025

Environment

nitro: npm:nitropack-nightly@latest
node: 20
nuxt 3.15.4

Reproduction

update dependencies in pnpm to latest version and try to run a nuxt application.

Describe the bug

The requested module 'ohash' does not provide an export named 'digest'.

It seems that nitro wants ohash@2, but many other packages like @nuxt/kit still want ohash@1, and that seems to give issues trying the latest nitro in nuxt.

Additional context

I'm running the nightly version because of #2892

Logs

@pi0
Copy link
Member

pi0 commented Feb 24, 2025

sorry for inconveniences, i'm afraid you should stick with older nightly versions until nuxt migrates.

@Zae
Copy link
Author

Zae commented Feb 24, 2025

For others running into this, this version seems to work:
npm:[email protected]

@dvogelg4al
Copy link

Environment
nuxt 3.15.4
nitro: 2.10.4
node: 20

Same issue started happening to me when deploying. Installing h3 v1.15.0 and using override in package.json fixed the issue.

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

No branches or pull requests

3 participants