You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Greetings,
I am trying to make Redoc react component to work, in order to have API page in my Astro project. However whatever I do, it doesn't show.
I get the following error during dev:
index.mjs?v=ec732812:4 Uncaught (in promise) SyntaxError: The requested module '/node_modules/whatwg-url/lib/public-api.js?v=ec732812' does not provide an export named 'default'
This index.mjs file is in node-fetch package.
I am using exactly same versions of the dependencies with a Vite React project, and it works as expected on localhost.
In the provided Sandbox, I just wanted to share my files, since Redoc seems to NOT work on Sandbox even for Vite.
What version of
astro
are you using?2.1.7
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
yarn
What operating system are you using?
Linux
What browser are you using?
Firefox
Describe the Bug
Greetings,
I am trying to make Redoc react component to work, in order to have API page in my Astro project. However whatever I do, it doesn't show.
I get the following error during
dev
:This
index.mjs
file is innode-fetch
package.I am using exactly same versions of the dependencies with a Vite React project, and it works as expected on localhost.
In the provided Sandbox, I just wanted to share my files, since
Redoc
seems to NOT work on Sandbox even forVite
.Any help appreciated.
Thank you!
Link to Minimal Reproducible Example
https://codesandbox.io/p/sandbox/dazzling-frog-z2bs6l?on=codesandbox&file=%2FREADME.md
Participation
The text was updated successfully, but these errors were encountered: