Skip to content
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

Updating to 2.2.703 results in MODULE_NOT_FOUND on common-utils #248

Closed
glennsc opened this issue Apr 15, 2024 · 2 comments
Closed

Updating to 2.2.703 results in MODULE_NOT_FOUND on common-utils #248

glennsc opened this issue Apr 15, 2024 · 2 comments

Comments

@glennsc
Copy link

glennsc commented Apr 15, 2024

I'm that guy embedding openapi-explorer in Vitepress. The "build" step is simply Vitepress build.

All has been well: bun run docs:build works on openapi-explorer@2.2.702.

Installing latest explorer 2.2.703 and the build command errors with:

Error [ERR_MODULE_NOT_FOUND]: Cannot find module /node_modules/openapi-explorer/dist/es/utils/common-utils' imported from node_modules/openapi-explorer/dist/es/templates/security-scheme-template.js

@wparad
Copy link
Member

wparad commented Apr 16, 2024

Well that's definitely unexpected, it's possible something was missed. We'll try to see if it is reproducible and then go from there.

@wparad wparad closed this as completed in 0705244 Apr 17, 2024
wparad added a commit that referenced this issue Apr 17, 2024
…s-modules

Import common-utils as javascript import. fix #248
@wparad
Copy link
Member

wparad commented Apr 17, 2024

Should be good now in the latest version of the library. Thanks for reporting this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants