We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Nodejs的require.resolve不支持windows格式的路径地址
tegg/core/common-util/src/ModuleConfig.ts
Line 75 in 2c683c3
requier.resolve("cnpmcore\\common\\package.json")
会解析失败 需要统一转换成linux的路径格式,如:
requier.resolve("cnpmcore/common/package.json")
18.12.0
3.8.0
tegg-common-util
Windows11
The text was updated successfully, but these errors were encountered:
fix: use posix join for package path
7dd6651
Closes: - #121
fix: use posix join for package path (#127)
53672f4
No branches or pull requests
在此输入你需要反馈的 Bug 具体信息(Bug in Detail):
Nodejs的require.resolve不支持windows格式的路径地址
tegg/core/common-util/src/ModuleConfig.ts
Line 75 in 2c683c3
比如
会解析失败
需要统一转换成linux的路径格式,如:
可复现问题的仓库地址(Reproduction Repo)
tegg/core/common-util/src/ModuleConfig.ts
Line 75 in 2c683c3
Node 版本号:
18.12.0
TEgg 版本号:
3.8.0
相关插件名称与版本号:
tegg-common-util
操作平台与版本号:
Windows11
The text was updated successfully, but these errors were encountered: