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

Astro 4 #62

Open
smalltimer opened this issue Dec 14, 2023 · 2 comments
Open

Astro 4 #62

smalltimer opened this issue Dec 14, 2023 · 2 comments

Comments

@smalltimer
Copy link

Hi,

I had the webmanifest working prefectly in Astro 3. I upgraded to Astro 4 and found the webmanifest does not work any more. There is always a residual .mjs file after a build. Besides astro-webmanifest, I am using @astro/sitemap and astro-robots-txt in my config. I was also generating an RSS feed using @astrojs/rss, which seems to have stopped working now. I am mentioning it to cover the off chance that it might be interacting with astro-webmanifest.

Cheers!

@MelihDarcanxyz
Copy link

MelihDarcanxyz commented Feb 11, 2024

I can't get astro-webmanifest working on astro 4.3.5. Getting an error like this:

[vite] Error when evaluating SSR module /mnt/STUFF/projects/neo-website/astro.config.ts: failed to import "astro-webmanifest"
|- Error: 
Something went wrong installing the "sharp" module

Cannot find module '../build/Release/sharp-linux-x64.node'

I have sharp 0.33.2 installed, just to be clear.

@MelihDarcanxyz
Copy link

It somehow works now, with:

astro:
    specifier: 4.14.3
    version: 4.14.3(@types/node@22.4.2)(rollup@4.21.0)(typescript@5.5.4)

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