TypeError [ERR_INVALID_ARG_TYPE] [ERR_INVALID_ARG_TYPE]: The “path“ argument must be of type string.

目录

 

问题

解决


问题

electron客户端打包后启动失败,报错信息如下:

[2020-08-29 16:59:33.984] [info] TypeError [ERR_INVALID_ARG_TYPE] [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at validateString (internal/validators.js:112:11)
    at Object.resolve (path.js:981:7)
    at ue (/Users/***/project/meet-electron/dist/mac/***.app/Contents/Resources/app.asar/build/main.js:22:10495)
    at App.<anonymous> (/Users/***/project/meet-electron/dist/mac/***.app/Contents/Resources/app.asar/build/main.js:22:25159)
    at App.emit (events.js:208:15)
    at App.E

猜你喜欢

转载自blog.csdn.net/liuzehn/article/details/108315538