-
Notifications
You must be signed in to change notification settings - Fork 4
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
Node Versions #1
Comments
Hi @drew-u410, Thanks for initial investigation. The issue is comming from When the bundle is created, it's assumed it's going to be used in Browser environment. But's that's not the case for Next.js. Node.js =19.2.0 and =18.13.0, introduced the For me the most sensible way to proceed forward is to make Node.js >= 20 as minimal required version. What do you think? |
Added support for Node.js>=16 in #2 by polyfilling |
It might be helpful to specify the
node
version requirements in theREADME
or a.node-version
or a.tool-versions
file.It seems that v18 LTS does not work but v20 does work.
It looks to be in
swagger-ui-react/swagger-ui-bundle.js
:The text was updated successfully, but these errors were encountered: