Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: The specified procedure could not be found. #1

Closed
weradsaoud opened this issue Sep 24, 2021 · 2 comments
Closed

Error: The specified procedure could not be found. #1

weradsaoud opened this issue Sep 24, 2021 · 2 comments

Comments

@weradsaoud
Copy link

Hi ...
When module is required:
const { getMonitorInfos } = require('windows-ss');
An error occured:
App threw an error during load
Error: The specified procedure could not be found.
\?\D:\werad\WrknzrDsktp\Workganizer_v1_POM_windows\node_modules\windows-ss\dist\native\win32\x64\12.13.0\edge_coreclr.node
at process.func [as dlopen] (electron/js2c/asar.js:140:31)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1034:18)
at Object.func [as .node] (electron/js2c/asar.js:140:31)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (internal/modules/cjs/loader.js:852:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (D:\werad\WrknzrDsktp\Workganizer_v1_POM_windows\node_modules\windows-ss\dist\index.js:104:10)
at Module._compile (internal/modules/cjs/loader.js:967:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1004:10)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (internal/modules/cjs/loader.js:852:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (D:\werad\WrknzrDsktp\Workganizer_v1_POM_windows\public\electron.js:14:29)
at Module._compile (internal/modules/cjs/loader.js:967:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1004:10)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module._load (electron/js2c/asar.js:769:28)

@sxxov
Copy link
Owner

sxxov commented Sep 24, 2021

this seems to be an issue related to electron, can you check if windows-ss\dist\native\win32\x64\12.13.0\edge_coreclr.node is included in your asar bundle?

EDIT: try setting process.env.EDGE_DEBUG = 1 & posting another stack trace, that may give more info on edge's instantiation

@sxxov
Copy link
Owner

sxxov commented Oct 8, 2021

going to close this as it doesn't seem like it's a problem with the library, hope you've found a solution to your problem.

@sxxov sxxov closed this as completed Oct 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants