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 theme v4.2.0 not working locally #291

Open
TomasBankauskas opened this issue Apr 11, 2024 · 0 comments
Open

The theme v4.2.0 not working locally #291

TomasBankauskas opened this issue Apr 11, 2024 · 0 comments

Comments

@TomasBankauskas
Copy link

Hi there, thank you for awesome theme.

I deployed your theme to Netlify and it works without issue, but locally (Node v18.17.1, macOS Sonoma v14.4) it fails with following error:

[vite] Error when evaluating SSR module /astro.config.ts: failed to import "@astrojs/react"
|- Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'vite' imported from /astro-test/node_modules/@vitejs/plugin-react/dist/index.mjs 

[astro] Unable to load your Astro config

After running npm audit fix the issue is gone.

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

1 participant