TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
南国老符
最后更新于:2026-06-21
浏览:4
hbuilder【版本号:HBuilderX.5.07.2026041006】新建的默认小程序项目,运行到微信开发者工具编译后报错【如图所示】:TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined,的解决方法:微信开发者工具安装目录不能是中文,改为英文即可。