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

Netlify deploy with SSR #26

Open
xTalAlex opened this issue Aug 27, 2022 · 11 comments
Open

Netlify deploy with SSR #26

xTalAlex opened this issue Aug 27, 2022 · 11 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@xTalAlex
Copy link

Hello. I'm trying to use this package together with SSR functionalities on Netlify.

Without SSR features everything works. When i plugin the Netlify adapter the deployment phase fails with this error:
2022-08-27 (1)

@yassinedoghri
Copy link
Owner

yassinedoghri commented Aug 29, 2022

Hey, thanks for creating the issue! I've never used Astro with SSR, that's probably why it doesn't work.

Though, this is a priority for v1.0.0 release. So I've added it to the roadmap. I'll have to do some research to understand how to make it work properly.

@yassinedoghri
Copy link
Owner

I think I fixed this in beta.7, not sure though. Could you please try it on your side?

@xTalAlex
Copy link
Author

xTalAlex commented Sep 3, 2022

it does build but visiting the website shows this error.
2022-09-03

@yassinedoghri
Copy link
Owner

Ok, thanks for the info, I'll take a look at it tomorrow.

@yassinedoghri yassinedoghri added the bug Something isn't working label Sep 10, 2022
@yassinedoghri yassinedoghri added the help wanted Extra attention is needed label Oct 1, 2022
@yassinedoghri
Copy link
Owner

Not sure what's happening here, I've tried it myself and indeed get the same error: https://astro-i18next-ssr-example.netlify.app/

Here's the reproduction: https://github.com/yassinedoghri/astro-i18next-ssr-netlify-example

@yassinedoghri yassinedoghri added enhancement New feature or request and removed bug Something isn't working labels Nov 26, 2022
@ninjaa
Copy link

ninjaa commented Dec 3, 2022

I added another issue which I will now close as a duplicate. I am experiencing this issue

#82

@giuseppeaiello
Copy link

giuseppeaiello commented Mar 14, 2023

Astro's release 2.1.3 should have solved the "'filename' must be a file URL object" issue.

EDIT: after a test, it seems the issue caused by the dynamic path on SSR is still there... 😵

@preetamslot
Copy link

is there a fix in sight for this?

@stormynight9
Copy link

Any updates?

2 similar comments
@miicolas
Copy link

Any updates?

@ab-ba741
Copy link

Any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

8 participants