electron-react-tpl icon indicating copy to clipboard operation
electron-react-tpl copied to clipboard

win10 npm start 启动报错

Open lius123 opened this issue 4 years ago • 1 comments

[electron] scripts/main-build.js � Electron webpack 相关报错 [electron] TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined [electron] at validateString (internal/validators.js:117:11) [electron] at Object.join (path.js:375:7) [electron] at D:\moushi\desktop_im\scripts\main-build.js:32:13 [electron] at Hook.eval [as callAsync] (eval at create (D:\moushi\desktop_im\node_modules\tapable\lib\HookCodeFactory.js:33:10), :7:1) [electron] at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (D:\moushi\desktop_im\node_modules\tapable\lib\Hook.js:18:14) [electron] at D:\moushi\desktop_im\node_modules\webpack\lib\Compiler.js:1114:33 [electron] at finalCallback (D:\moushi\desktop_im\node_modules\webpack\lib\Compilation.js:2249:11) [electron] at D:\moushi\desktop_im\node_modules\webpack\lib\Compilation.js:2540:11 [electron] at Hook.eval [as callAsync] (eval at create (D:\moushi\desktop_im\node_modules\tapable\lib\HookCodeFactory.js:33:10), :4:1) [electron] at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (D:\moushi\desktop_im\node_modules\tapable\lib\Hook.js:18:14) { [electron] code: 'ERR_INVALID_ARG_TYPE' [electron] } [electron] scripts/main-build.js Watching Ended.

lius123 avatar Jul 08 '21 10:07 lius123

[electron] scripts/main-build.js � Electron webpack 相关报错 [electron] TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined [electron] at validateString (internal/validators.js:117:11) [electron] at Object.join (path.js:375:7) [electron] at D:\moushi\desktop_im\scripts\main-build.js:32:13 [electron] at Hook.eval [as callAsync] (eval at create (D:\moushi\desktop_im\node_modules\tapable\lib\HookCodeFactory.js:33:10), :7:1) [electron] at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (D:\moushi\desktop_im\node_modules\tapable\lib\Hook.js:18:14) [electron] at D:\moushi\desktop_im\node_modules\webpack\lib\Compiler.js:1114:33 [electron] at finalCallback (D:\moushi\desktop_im\node_modules\webpack\lib\Compilation.js:2249:11) [electron] at D:\moushi\desktop_im\node_modules\webpack\lib\Compilation.js:2540:11 [electron] at Hook.eval [as callAsync] (eval at create (D:\moushi\desktop_im\node_modules\tapable\lib\HookCodeFactory.js:33:10), :4:1) [electron] at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (D:\moushi\desktop_im\node_modules\tapable\lib\Hook.js:18:14) { [electron] code: 'ERR_INVALID_ARG_TYPE' [electron] } [electron] scripts/main-build.js Watching Ended.

升级了版本;应该已经修复,可以再试下

qld-cf avatar Jan 19 '22 10:01 qld-cf