-
Notifications
You must be signed in to change notification settings - Fork 9k
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
ramda-adjunct tried to access ramda #9929
Comments
Hi @simPod, Could you try to regenerate your package-lock.json or yarn.lock and reinstall your project? |
Hi, it was regenerated by yarn install already. rm yarn.lock + yarn install does not help. The error is not caused by my lockfile but by incorrectly specifying dependencies.
|
Partially addressed upstream in https://github.com/swagger-api/swagger-js/releases/tag/v3.27.9 We still need to release new version of SwaggerUI utilizing latest version of swagger-client@3.27.9. This should resolve the issue and will force package manager to reconciliate properly. Reason why this happendDependency tree of downstream projects might contain ApiDOM@0.91.0 which still uses ramda-adjunct@4. Latest swagger-client uses directly ramda-adjunct@5, and it's expected when it reinstall that it fetches the latest ApiDOM version and consolidate the dependenices. But npm might choose not to re-consolidate and we'll get into this situation. Bundler will pull two versions of ramda-adjunct (4 and 5) and it will fail on compiling the 4, because it no longer contains isNotEmpty . |
Address in SwaggerUI by #9930 |
Q&A (please complete the following information)
Describe the bug you're encountering
When bumping swagger-ui-react 5.17.7 -> 5.17.8 it gives following error:
To reproduce...
Use yarn pnp and compile
Expected behavior
No error
Screenshots
Additional context or thoughts
Related #7722
The text was updated successfully, but these errors were encountered: