qode
qode copied to clipboard
qode.exe run error in chinese path?
qode not support utf-8 path?
$ ./qode.exe
internal/modules/cjs/loader.js:1023
throw err;
^
Error: Cannot find module 'H:\cloud-music-nodegui\deploy\win32\build\������\dist'
Require stack:
- internal/preload
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1020:15)
at Function.Module._load (internal/modules/cjs/loader.js:890:27)
at Module.require (internal/modules/cjs/loader.js:1080:19)
at Module._preloadModules (internal/modules/cjs/loader.js:1321:12)
at loadPreloadModules (internal/bootstrap/pre_execution.js:439:5)
at prepareMainThreadExecution (internal/bootstrap/pre_execution.js:71:3)
at internal/main/eval_stdin.js:17:1 {
code: 'MODULE_NOT_FOUND',
requireStack: [ 'internal/preload' ]
}
@master-atul https://github.com/nodegui/qode/blob/602cb55099a7770f9869150c1b1925e9b99448c2/src/helpers/qode_helper.cc#L41 is it possible to use GetModuleFileNameW instead of GetModuleFileNameA ?
sure. can you raise a pr after testing if that works? @jardenliu