Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of URL. Received undefined #158

Closed
tucke opened this issue Sep 27, 2022 · 1 comment

Comments

@tucke
Copy link

tucke commented Sep 27, 2022

版本号:

3.4.2

问题描述:

无法启动

截图&代码:

vite-plugin-mkcert 这个依赖没有锁定版本号,现在默认使用的是 1.10.0 导致项目无法启动报错
···
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of URL. Received undefined
at new NodeError (node:internal/errors:387:5)
at fileURLToPath (node:internal/url:1434:11)
···

@tucke tucke changed the title vite-plugin-mkcert 版本依赖问题 TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of URL. Received undefined Sep 27, 2022
@zhangdaiscott
Copy link
Member

修复了

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

No branches or pull requests

2 participants