Closed schneider-carlo closed 9 months ago
I'm not sure if this was fixed upstream or something, I've tried to replicate it without much success. Can you see if it's fixed on your end when you delete lock file + node_modues and install latest?
Hi Harlan, I updated all the packages and the issue is still relevant. I found out, that if you deploy the website the first time on netlify and add the env variable, the issue doesn't happen. But when I deploy this repo without any env variables set and after that add the env variable for netlify edge and reploy with clearing cache, the issue comes again.
This is still broken on Netlify edge, I need to find a solution when I have some time to dedicate to it.
This should be solved in the v3.
You can see Netlify Edge rendering here: https://nuxtseo.com/og-image/guides/compatibility#provider-examples
Describe the bug
When using this module with NITRO_PRESET=netlify-edge set, the build process on netlify will be stopped with the following error: "Uncaught (in promise) Error: The module's source code could not be parsed: Unexpected character '\u{7f}' at file:///root/.netlify/edge-functions/server/server.js:2:4".
Reproduction
System / Nuxt Info