-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[#814] Unfixed problem, dependency 'core-js/es6/promise' is missing #997
Comments
I don't understand why you have closed this issue without indicating what the problem was, or what I've had to do to resolve it. |
I updated |
@eau-de-la-seine Just upgrading redoc to rc.14 and core-js to version 3 should work. @qw-in could you provide more details? Have you upgraded core-js to version 3? |
@RomanHotsiy will give that a shot, thanks Maybe corejs@3 should be added here? |
Yes, and there too: https://www.npmjs.com/package/redoc#usage-as-a-react-component ;) |
@RomanHotsiy please reopen this issue until #1018 or another fix is resolved. Thanks! |
I opened an issue here when encountering this problem with Gatsby (does not occur with skeleton Webpack config). I didn't find this originally as it was closed, this issue should be open. @RomanHotsiy Can confirm a similar error occurs with I get While on the subject, would it not be easier creating a |
@MarcusCemes Gatsby currently will hardcode This means that currently |
I used patch-package as a workaround to get Gatsby working with redoc by changing the import to |
#1018 Was just a documentation change, is the a reason this dep wasn't added as a real peerDependency? |
This answer solves the issue for my documentation with Gatsby. |
I'm still encountering this error when using with next.js. Can we reopen? |
@adamsoffer any details? |
Hi, I still have the problem declared in the issue number 814
Problem:
My dependencies (package.json):
Installed with:
So I've installed the following dependency:
core-js
but nothing has changed. So I've looked into your Redoc code in/node_modules/redoc/bundles/redoc.lib.js
:But what you're looking for with
core-js
is installed here:core-js/es/promise
, not here:core-js/es6/promise
Workaround:
So my workaround was to copy/paste the existing
/node_modules/core-js/es
folder and rename it to/node_modules/core-js/es6
. Is this a bug or did I miss something during the installation of Redoc with npm?The text was updated successfully, but these errors were encountered: