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

Missing "./driver/localstorage" specifier in "unstorage" package #456

Open
eduardo-faith opened this issue Jun 22, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@eduardo-faith
Copy link

Environment

  • Node v18.20.3
  • vite v5.3.1
  • unstorage v1.10.2

Reproduction

https://stackblitz.com/edit/vitejs-vite-jwsyhr

Describe the bug

[plugin:vite:import-analysis] Missing "./driver/localstorage" specifier in "unstorage" package

Additional context

If line 2 is commented out, it works as expected. Therefore no possibility, to check if line 5 works..

Logs

[plugin:vite:import-analysis] Missing "./driver/localstorage" specifier in "unstorage" package
/home/projects/vitejs-vite-jwsyhr/main.js
    at e (file:///home/projects/vitejs-vite-jwsyhr/node_modules/vite/dist/node/chunks/dep-BcXSligG.js:46574:25)
    at n (file:///home/projects/vitejs-vite-jwsyhr/node_modules/vite/dist/node/chunks/dep-BcXSligG.js:46574:627)
    at o (file:///home/projects/vitejs-vite-jwsyhr/node_modules/vite/dist/node/chunks/dep-BcXSligG.js:46574:1297)
    at resolveExportsOrImports (file:///home/projects/vitejs-vite-jwsyhr/node_modules/vite/dist/node/chunks/dep-BcXSligG.js:47195:18)
    at resolveDeepImport (file:///home/projects/vitejs-vite-jwsyhr/node_modules/vite/dist/node/chunks/dep-BcXSligG.js:47218:25)
    at tryNodeResolve (file:///home/projects/vitejs-vite-jwsyhr/node_modules/vite/dist/node/chunks/dep-BcXSligG.js:46983:16)
    at ResolveIdContext.resolveId (file:///home/projects/vitejs-vite-jwsyhr/node_modules/vite/dist/node/chunks/dep-BcXSligG.js:46733:19)
    at async PluginContainer.resolveId (file:///home/projects/vitejs-vite-jwsyhr/node_modules/vite/dist/node/chunks/dep-BcXSligG.js:49511:22)
    at async TransformPluginContext.resolve (file:///home/projects/vitejs-vite-jwsyhr/node_modules/vite/dist/node/chunks/dep-BcXSligG.js:49672:15)
    at async normalizeUrl (file:///home/projects/vitejs-vite-jwsyhr/node_modules/vite/dist/node/chunks/dep-BcXSligG.js:64302:26
@eduardo-faith eduardo-faith added the bug Something isn't working label Jun 22, 2024
@eduardo-faith
Copy link
Author

@pi0 relates to #56

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

1 participant