-
Notifications
You must be signed in to change notification settings - Fork 238
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
initialize() of express-openapi 12.0.0 always throws exception on Windows #812
Comments
@robertkiel can you help here? |
Haven't tested the change on Windows yet ... The CommonJS script / ES module loader of Node.js seems to require some special treatment for Windows. Will try on Windows tomorrow. |
Any update on this? |
@robertkiel would be great if you could provide some leadership/help here. |
Sorry for the late reply. Have been busy with a different issue - also related ESM migrations which brought some insights Need to create a Windows-based test setup first but it looks like most prefixing with |
@renkei can you try now with 12.0.1? @robertkiel just pushed up a fix. |
Thanks! It works on Windows again. |
thanks for stepping in @robertkiel !!! |
After the update to express-openapi 12.0.0 my CommonJS app crashes on Windows when I'm calling the
initialize
method from theexpress-openapi
package:For Windows, the issue can be solved by changing in openapi-framework/index.ts, line 238
from
to
Of course, this is just a first dirty hack and not tested on other platforms than Windows. Can someone check this and provide a fixed version 12.0.1, please?
The text was updated successfully, but these errors were encountered: