-
Notifications
You must be signed in to change notification settings - Fork 113
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
Webpack 5 error #25
Labels
bug
Something isn't working
Comments
you need to polyfll node apis for webpack 5 check this https://gist.github.com/sibelius/24f63eef7f43b15dc73c4a0be11bbef8 |
rohit-gohri
added a commit
that referenced
this issue
May 12, 2021
Added back node polyfills until redoc supports Webpack 5: Redocly/redoc#1584 Closes #25 #37
rohit-gohri
added a commit
that referenced
this issue
May 12, 2021
rohit-gohri
added a commit
that referenced
this issue
May 12, 2021
I fixed polyfills in latest PR #40 but I'm getting this error now:
Might be related to facebook/docusaurus#3515 maybe as I'm using yarn workspaces now. Still investigating. |
Merged
Fixed in v0.4.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
when call:
docusaurus start
it throws:
Module not found: Error: Can't resolve 'path' in './node_modules/@redocly/openapi-core/lib/config'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it.
docusaurus version:
2.0.0-alpha.75
The text was updated successfully, but these errors were encountered: