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

Need Additional Dependency Installation? #88

Closed
XIYO opened this issue Aug 24, 2024 · 1 comment
Closed

Need Additional Dependency Installation? #88

XIYO opened this issue Aug 24, 2024 · 1 comment

Comments

@XIYO
Copy link

XIYO commented Aug 24, 2024

Hello,

I am a beginner developer who is not very familiar with Node and Vite.

When I installed @vite-pwa/sveltekit in my Svelte project (which is in a completely fresh state) and ran vite dev, I encountered a Cannot find package 'fast-glob' error.

I’m wondering if I should look into the "externals" field in the /build.config.ts file and manually install those dependencies? Since no specific versions are mentioned, should I just install the latest versions?

If so, why isn’t this step included in the "README.md"?

I have two guesses:

  • It might be an oversight in the documentation.
  • Or maybe there’s something wrong with my project setup.

P.S. I resolved the issue by running pnpm add fast-glob vite vite-plugin-pwa workbox-build.

Thank you for your assistance!

@userquin
Copy link
Member

@XIYO should be fixed in v0.6.6

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

No branches or pull requests

2 participants