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
system:macOs;
node: 16.14.2;
electron: 24.1.2;
node-java: 0.14.0;
this is my code const java = require("java");
INFO Launching Electron...
App threw an error during load
Error: Cannot find module '/Users/benben/Desktop/code/oldcode/szqyCode/szqy/qinashan/qianshan-electron/build/Release/nodejavabridge_bindings.node'
at webpackEmptyContext (webpack:///./node_modules/java/lib_sync?:2:10)
at eval (webpack:///./node_modules/java/lib/nodeJavaBridge.js?:21:77)
at ./node_modules/java/lib/nodeJavaBridge.js (/Users/benben/Desktop/code/oldcode/szqyCode/szqy/qinashan/qianshan-electron/dist_electron/index.js:2514:1)
at webpack_require (/Users/benben/Desktop/code/oldcode/szqyCode/szqy/qinashan/qianshan-electron/dist_electron/index.js:20:30)
at eval (webpack:///./node_modules/java/index.js?:2:18)
at ./node_modules/java/index.js (/Users/benben/Desktop/code/oldcode/szqyCode/szqy/qinashan/qianshan-electron/dist_electron/index.js:2491:1)
at webpack_require (/Users/benben/Desktop/code/oldcode/szqyCode/szqy/qinashan/qianshan-electron/dist_electron/index.js:20:30)
at eval (webpack:///./src/electron/java/index.js?:4:14)
at ./src/electron/java/index.js (/Users/benben/Desktop/code/oldcode/szqyCode/szqy/qinashan/qianshan-electron/dist_electron/index.js:3947:1)
at webpack_require (/Users/benben/Desktop/code/oldcode/szqyCode/szqy/qinashan/qianshan-electron/dist_electron/index.js:20:30)
(node:67053) [DEP0128] DeprecationWarning: Invalid 'main' field in '/Users/benben/Desktop/code/oldcode/szqyCode/szqy/qinashan/qianshan-electron/dist_electron/package.json' of 'background.js'. Please either fix that or report it to the module author
(Use Electron --trace-deprecation ... to show where the warning was created)
The text was updated successfully, but these errors were encountered:
system:macOs;
node: 16.14.2;
electron: 24.1.2;
node-java: 0.14.0;
this is my code
const java = require("java");
INFO Launching Electron...
App threw an error during load
Error: Cannot find module '/Users/benben/Desktop/code/oldcode/szqyCode/szqy/qinashan/qianshan-electron/build/Release/nodejavabridge_bindings.node'
at webpackEmptyContext (webpack:///./node_modules/java/lib_sync?:2:10)
at eval (webpack:///./node_modules/java/lib/nodeJavaBridge.js?:21:77)
at ./node_modules/java/lib/nodeJavaBridge.js (/Users/benben/Desktop/code/oldcode/szqyCode/szqy/qinashan/qianshan-electron/dist_electron/index.js:2514:1)
at webpack_require (/Users/benben/Desktop/code/oldcode/szqyCode/szqy/qinashan/qianshan-electron/dist_electron/index.js:20:30)
at eval (webpack:///./node_modules/java/index.js?:2:18)
at ./node_modules/java/index.js (/Users/benben/Desktop/code/oldcode/szqyCode/szqy/qinashan/qianshan-electron/dist_electron/index.js:2491:1)
at webpack_require (/Users/benben/Desktop/code/oldcode/szqyCode/szqy/qinashan/qianshan-electron/dist_electron/index.js:20:30)
at eval (webpack:///./src/electron/java/index.js?:4:14)
at ./src/electron/java/index.js (/Users/benben/Desktop/code/oldcode/szqyCode/szqy/qinashan/qianshan-electron/dist_electron/index.js:3947:1)
at webpack_require (/Users/benben/Desktop/code/oldcode/szqyCode/szqy/qinashan/qianshan-electron/dist_electron/index.js:20:30)
(node:67053) [DEP0128] DeprecationWarning: Invalid 'main' field in '/Users/benben/Desktop/code/oldcode/szqyCode/szqy/qinashan/qianshan-electron/dist_electron/package.json' of 'background.js'. Please either fix that or report it to the module author
(Use
Electron --trace-deprecation ...
to show where the warning was created)The text was updated successfully, but these errors were encountered: