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

bug: Module not found: Can't resolve './visitors/open-api-3-0/example/index.mjs #4704

Open
DandyReyes opened this issue Feb 3, 2025 · 0 comments

Comments

@DandyReyes
Copy link

Q&A (please complete the following information)

Describe the bug you're encountering

I ran both different packages in the most basic form. I have data coming in from the backend using ring-swagger-ui and all is valid. I can get the data coming back in json form as well. I've tried to use that for the app and passed in the url. Nothing else. I'm getting an error Module not found: Can't resolve './visitors/open-api-3-0/example/index.mjs'. I've checked the package and many different versions but this file example doesn't seem to exist.

I've tried:

  1. Cleaning out the cache
  2. Removing the node modules, yarn lock & .next files
  3. Updating the versions of api dom and resolving them to that package on package.json
  4. I've tried downgrading as well

To reproduce...

Steps to reproduce the behavior:

  1. npm | yarn install swagger-client or swagger-react-ui
  2. Import swagger
  3. Put component on page with url to json coming from the backend
  4. Save changes and open page
  5. See error

Expected behavior

I simply expected the base component with little tweaks to work for me.

Screenshots

Image
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