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
Error: node-loader:
Error: /root/.cache/pkg/06caeb8f704d1a6737597956e137e74f11a8e28f9b9b0eb1a8b734887fb38402/drivelist.node: cannot open shared object file: No such file or directory
at 26747 (/snapshot/app/backend/644.js)
how to solve such issue ?
use the same package.json package for Mac, the binary app can execute successfully .
Please show me package.json content and also share pkg command output with --debug flag. Then run the result package with DEBUG_PKG=2 env var and share the run output as well
from log, while fs.readFileSync then should be fs.readSync [], this meaning read success ? or else probably occurs problem ?
current it report error while executed :
....
Error: node-loader:
Error: /root/.cache/pkg/06caeb8f704d1a6737597956e137e74f11a8e28f9b9b0eb1a8b734887fb38402/drivelist.node: cannot open shared object file: No such file or directory
at ../../node_modules/drivelist/build/Release/drivelist.node (/snapshot/ThingsSpace/applications/browser/lib/backend/vendors-node_modules_drivelist_build_Release_drivelist_node-node_modules_stroncium_procfs_lib-9ec906.js)
Activity
robertsLando commentedon Oct 24, 2025
Please show me
package.jsoncontent and also share pkg command output with--debugflag. Then run the result package withDEBUG_PKG=2env var and share the run output as wellicoco commentedon Oct 24, 2025
I just try to package the project 'https://github.com/eclipse-theia/theia-ide'
pkg --debug --targets node22-linux-x64 .
icoco commentedon Oct 25, 2025
DEBUG_PKG=2 ./myApp,
from log, while fs.readFileSync then should be fs.readSync [], this meaning read success ? or else probably occurs problem ?
current it report error while executed :
....
Error: node-loader:
Error: /root/.cache/pkg/06caeb8f704d1a6737597956e137e74f11a8e28f9b9b0eb1a8b734887fb38402/drivelist.node: cannot open shared object file: No such file or directory
at ../../node_modules/drivelist/build/Release/drivelist.node (/snapshot/ThingsSpace/applications/browser/lib/backend/vendors-node_modules_drivelist_build_Release_drivelist_node-node_modules_stroncium_procfs_lib-9ec906.js)