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

Warning during nuxt generate - cache-driver.js is imported by "virtual:#internal/nitro/virtual/storage", but could not be resolved #27424

Open
HummingMind opened this issue Jun 1, 2024 · 2 comments

Comments

@HummingMind
Copy link

HummingMind commented Jun 1, 2024

Environment

  • Operating System: Windows_NT
  • Node Version: v22.2.0
  • Nuxt Version: 3.11.2
  • CLI Version: 3.11.1
  • Nitro Version: 2.9.6
  • Package Manager: npm@10.8.1
  • Builder: -
  • User Config: devtools, nitro
  • Runtime Modules: -
  • Build Modules: -

Reproduction

There is no custome code. This is badsically a blank app with a single paragraph element.

Describe the bug

Running nuxt generate shows this error:

WARN "file:///D:/Working/Repos/HummingMind/node_modules/nuxt/dist/core/runtime/nitro/cache-driver.js" is imported by "virtual:#internal/nitro/virtual/storage", but could not be resolved – treating it as an external dependency.

Additional context

Seems to be a discussion here, but not sure why it's a discussion and wasn't submitted as a bug report:
https://github.com/nuxt/nuxt/discussions/26622?sort=old

Logs

No response

@danielroe
Copy link
Member

This is a windows only issue following #26595, and likely an upstream one in Nitro.

Regardless, the warning can be safely ignored.

@HummingMind
Copy link
Author

Still happening with the latest Nuxt/Nitro. 😢

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

2 participants