Title: Loading non-context-aware native module in renderer error in Electron 14+ · Issue #559 · joeferner/node-java · GitHub
Open Graph Title: Loading non-context-aware native module in renderer error in Electron 14+ · Issue #559 · joeferner/node-java
X Title: Loading non-context-aware native module in renderer error in Electron 14+ · Issue #559 · joeferner/node-java
Description: I am using ubuntu 20.04.4 LTS with nodeJS v16.16.0, electron 19.0.8. As soon as I run the app, this exception is thrown immediately. Uncaught Error: Loading non-context-aware native module in renderer: '/home/mydir´/remotesync_desktop/sy...
Open Graph Description: I am using ubuntu 20.04.4 LTS with nodeJS v16.16.0, electron 19.0.8. As soon as I run the app, this exception is thrown immediately. Uncaught Error: Loading non-context-aware native module in rende...
X Description: I am using ubuntu 20.04.4 LTS with nodeJS v16.16.0, electron 19.0.8. As soon as I run the app, this exception is thrown immediately. Uncaught Error: Loading non-context-aware native module in rende...
Opengraph URL: https://github.com/joeferner/node-java/issues/559
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Loading non-context-aware native module in renderer error in Electron 14+","articleBody":"I am using ubuntu 20.04.4 LTS with nodeJS v16.16.0, electron 19.0.8.\r\n\r\nAs soon as I run the app, this exception is thrown immediately.\r\n\r\n```\r\nUncaught Error: Loading non-context-aware native module in renderer: '/home/mydir´/remotesync_desktop/syncprotocol_lib/node_modules/java/build/Release/nodejavabridge_bindings.node'. See https://github.com/electron/electron/issues/18397.\r\n at process.func [as dlopen] (node:electron/js2c/asar_bundle:5:1812)\r\n at Module._extensions..node (node:internal/modules/cjs/loader:1203:18)\r\n at Object.func [as .node] (node:electron/js2c/asar_bundle:5:1812)\r\n at Module.load (node:internal/modules/cjs/loader:988:32)\r\n at Module._load (node:internal/modules/cjs/loader:829:12)\r\n at c._load (node:electron/js2c/asar_bundle:5:13343)\r\n at i._load (node:electron/js2c/renderer_init:33:356)\r\n at Module.require (node:internal/modules/cjs/loader:1012:19)\r\n at require (node:internal/modules/cjs/helpers:102:18)\r\n at Object.\u003canonymous> (/home/mydir/remotesync_desktop/syncprotocol_lib/node_modules/java/lib/nodeJavaBridge.js:21:16)\r\n```\r\n\r\nElectron issue link:\r\n[https://github.com/electron/electron/issues/18397](https://github.com/electron/electron/issues/18397)\r\n\r\n\r\n\r\nWhat should I do to solve this?\r\n\r\nIs there any other way other than lowering the version of Electron?","author":{"url":"https://github.com/choiman1559","@type":"Person","name":"choiman1559"},"datePublished":"2022-07-24T16:52:35Z","url":"https://github.com/joeferner/node-java/issues/559"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2235cdda-728d-b9d7-c59d-631d64a923ed |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 87BA:9A536:1B20D93:260FCF1:6AFD0C8C |
| html-safe-nonce | fe0f2f4c14d0cf95d06bce74e89e8a06838412835e90cda98c16673fd1192aa9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4N0JBOjlBNTM2OjFCMjBEOTM6MjYwRkNGMTo2QUZEMEM4QyIsInZpc2l0b3JfaWQiOiI2Nzc0Nzg0NzAwNDMxNzk3Mzg4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a23e9b1291c2844defd472846e2889b9171ddc35055389bc96070294f7d7cc8a |
| hovercard-subject-tag | issue:1315955610 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/joeferner/node-java/559/issue_layout |
| twitter:image | https://opengraph.githubassets.com/402702b05abd7cfabeebb43e69c6c757d253120fdd463b0ea16ace67c3b389dd/joeferner/node-java/issues/559 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/402702b05abd7cfabeebb43e69c6c757d253120fdd463b0ea16ace67c3b389dd/joeferner/node-java/issues/559 |
| og:image:alt | I am using ubuntu 20.04.4 LTS with nodeJS v16.16.0, electron 19.0.8. As soon as I run the app, this exception is thrown immediately. Uncaught Error: Loading non-context-aware native module in rende... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | choiman1559 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b29de2abb97b6307b16270785efeb58b51a117d5a9b659acf00b77aa00e7043b |
| turbo-cache-control | no-preview |
| go-import | github.com/joeferner/node-java git https://github.com/joeferner/node-java.git |
| octolytics-dimension-user_id | 808857 |
| octolytics-dimension-user_login | joeferner |
| octolytics-dimension-repository_id | 3228734 |
| octolytics-dimension-repository_nwo | joeferner/node-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3228734 |
| octolytics-dimension-repository_network_root_nwo | joeferner/node-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c9e619def6d670dc18a45d3b02cea938c1c7e47 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width