Open michaeljwiebe opened 4 months ago
We've determined the issue here was npm
. Once we tried out yarn
it works fine!
Reopening because this is still an issue for the repo generally, even if I'm not dealing with it anymore. I do have a PR now that fixes it though! See above ^^
Q&A (please complete the following information)
npm run build
Content & configuration
src/index.js is unmodified:
Screenshots
How can we help?
I am unable to use a local version of Swagger-UI in place of the npm package
swagger-ui
with the default configuration. I get this error:TypeError Cannot set properties of undefined (setting 'runtime')
.In the console I also see
Uncaught TypeError: SwaggerEditorBundle is not a function at window.onload
, here is the implementation that error is coming from (this was not changed, it is the default):