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

"Cannot find module './util/assertString'" since 13.12.0 #2407

Open
lijiayi0921 opened this issue May 28, 2024 · 2 comments
Open

"Cannot find module './util/assertString'" since 13.12.0 #2407

lijiayi0921 opened this issue May 28, 2024 · 2 comments

Comments

@lijiayi0921
Copy link

Describe the bug
My typescript program is unable to launch using yarn.

Error: Cannot find module './util/assertString'
Require stack:

  • C:\dev\xxxxx\server\node_modules\validator\lib\toDate.js
  • C:\dev\xxxxx\server\node_modules\validator\index.js
  • C:\dev\xxxxx\server\node_modules\express-validator\src\chain\sanitizers-impl.js
  • C:\dev\xxxxx\server\node_modules\express-validator\src\chain\index.js
  • C:\dev\xxxxx\server\node_modules\express-validator\src\middlewares\exact.js

Forcing validator to 13.11.0 (with yarn resolutions) removes the error

Additional context
Validator.js version: 13.12.0
Node.js version: v18.16.1
OS platform: windows

@rubiin
Copy link
Member

rubiin commented Jun 1, 2024

could you share a minimal repro on how you are using the package?

@pano9000
Copy link
Contributor

pano9000 commented Sep 5, 2024

@lijiayi0921 could you kindly reply to @rubiin
otherwise I'll need to close this down as stale issue

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

3 participants