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

qode.exe can't be renamed after packaging? #21

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

qode.exe can't be renamed after packaging? #21

jardenliu opened this issue May 17, 2020 · 3 comments

Comments

@jardenliu
Copy link

if rename to other name, it will get some error as follow:

$ ./a.exe
internal/modules/cjs/loader.js:1226
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: The specified module could not be found.
\\?\H:\cloud-music-nodegui\deploy\win32\build\music\dist\nodegui_core-7c7efccfbf9f07e96c6307682942859c.node
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1226:18)
    at Module.load (internal/modules/cjs/loader.js:1040:32)
    at Function.Module._load (internal/modules/cjs/loader.js:929:14)
    at Module.require (internal/modules/cjs/loader.js:1080:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (H:\cloud-music-nodegui\deploy\win32\build\music\dist\index.js:6:8607)
    at n (H:\cloud-music-nodegui\deploy\win32\build\music\dist\index.js:1:110)
    at Object.<anonymous> (H:\cloud-music-nodegui\deploy\win32\build\music\dist\index.js:1:1001)
    at n (H:\cloud-music-nodegui\deploy\win32\build\music\dist\index.js:1:110)
    at Object.<anonymous> (H:\cloud-music-nodegui\deploy\win32\build\music\dist\index.js:1:1317)

@jardenliu
Copy link
Author

@master-atul if rename the qode.exe, cant load nodegui_core.node ,some things bound for nodegui_core.node ?

@a7ul
Copy link
Collaborator

a7ul commented May 18, 2020

I am not really sure why this would happen. This needs further investigation. is it possible for you to create a shortcut to qode.exe and then rename that instead for now?

@jardenliu
Copy link
Author

OK, Thanks

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