You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 13, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 13, 2024. It is now read-only.
Support for packaging node native modules into executable #843
I am trying to build an executable out of my node application that uses native addons like edge-js, usb-detection, etc.
I get the following error on running the exe,
pkg/prelude/bootstrap.js:1185
throw error;
^
Error: Cannot find module 'edge-js'
1) If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:634:15)
at Function.Module._resolveFilename (pkg/prelude/bootstrap.js:1287:46)
at Function.Module._load (internal/modules/cjs/loader.js:560:25)
at Module.require (internal/modules/cjs/loader.js:690:17)
at Module.require (pkg/prelude/bootstrap.js:1166:31)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (D:\snapshot\mw-lab-agent@v0.0.1\controller\device\device-dll-handler.js:2:14)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Module._compile (pkg/prelude/bootstrap.js:1268:32)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
This issue is stale because it has been open 90 days with no activity. Remove the stale label or comment or this will be closed in 5 days. To ignore this issue entirely you can add the no-stale label
Activity
github-actions commentedon Mar 25, 2021
This issue is stale because it has been open 90 days with no activity. Remove the stale label or comment or this will be closed in 5 days. To ignore this issue entirely you can add the no-stale label
github-actions commentedon Mar 31, 2021
This issue is now closed due to inactivity, you can of course reopen or reference this issue if you see fit.