Open Runc2333 opened 2 years ago
Hey, if you are still having problems it would be helpful to log some information. Can you print/log rc_clients
and confirm the process ids returned by memoryjs match the process ids in Task Manager? If we know memoryjs.openProcess
is being called on a valid process id, then it could be a permissions issue.
Error: unable to find process
happens when memoryjs can't find the process, or if it found it but wasn't able to obtain a handle to the process. I'll add an item to the TODO list to add more granularity to the error messages, to make it clear if the process could not be found or if it's just that a handle couldn't be obtained.
Program working fine when in 'preview' mode (I mean
yarn electron:serve
), butmemoryjs.openProcess(process.th32ProcessID);
throwsError: unable to find process
after being packed by electron-builder. Here's my code:Target process is 32-bit, using vue-electron-builder, node version is 32-bit too, have tried
npm run build32
,requestedExecutionLevel: requireAdministrator
,externals: ['memoryjs']
, but none of these work. Hope to get some help from here, thanks in advance.