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

Can't resolve 'deasync' in '.../node_modules/express-openapi-validator/dist/framework' #376

Closed
Anxium opened this issue Sep 29, 2020 · 1 comment

Comments

@Anxium
Copy link

Anxium commented Sep 29, 2020

Describe the bug

When I start my express server, I got the following error:

ERROR in .../node_modules/express-openapi-validator/dist/framework/openapi.spec.loader.js
Module not found: Error: Can't resolve 'deasync' in '.../node_modules/express-openapi-validator/dist/framework'

My version of express-openapi-validator is 4.0.2.

--

If I install the 'deasync' package locally, I don't get this error and everything work correctly.

I guess that 'deasync' must be a dependency of the package instead of a devDependency.

@cdimascio
Copy link
Owner

@Anxium thanks for the issue. This should be fixed in v4.0.3.

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

No branches or pull requests

2 participants