Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

qode.exe run error in chinese path? #20

Open
jardenliu opened this issue May 17, 2020 · 2 comments
Open

qode.exe run error in chinese path? #20

jardenliu opened this issue May 17, 2020 · 2 comments

Comments

@jardenliu
Copy link

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' ]
}
@jardenliu
Copy link
Author

@master-atul

GetModuleFileNameA(NULL, rawPathName, MAX_PATH);

is it possible to use GetModuleFileNameW instead of GetModuleFileNameA ?

@a7ul
Copy link
Collaborator

a7ul commented May 19, 2020

sure. can you raise a pr after testing if that works? @jardenliu

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants