René's URL Explorer Experiment


Title: node-java v0.12.2 fails with electron-rebuild (fatal error LNK1120) · Issue #541 · joeferner/node-java · GitHub

Open Graph Title: node-java v0.12.2 fails with electron-rebuild (fatal error LNK1120) · Issue #541 · joeferner/node-java

X Title: node-java v0.12.2 fails with electron-rebuild (fatal error LNK1120) · Issue #541 · joeferner/node-java

Description: Hello. When using version 0.12.1 , building and running the electron app works, but not with using version 0.12.2. When I try to use the code below, it fails on 0.12.2 since electronbrowser\src\main\electron\node_modules\java\build\Relea...

Open Graph Description: Hello. When using version 0.12.1 , building and running the electron app works, but not with using version 0.12.2. When I try to use the code below, it fails on 0.12.2 since electronbrowser\src\mai...

X Description: Hello. When using version 0.12.1 , building and running the electron app works, but not with using version 0.12.2. When I try to use the code below, it fails on 0.12.2 since electronbrowser\src\mai...

Opengraph URL: https://github.com/joeferner/node-java/issues/541

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"node-java v0.12.2 fails with electron-rebuild (fatal error LNK1120)","articleBody":"Hello.\r\n\r\nWhen using version `0.12.1` , building and running the electron app works, but not with using version `0.12.2`.\r\n\r\nWhen I try to use the code below, it fails on `0.12.2` since `electronbrowser\\src\\main\\electron\\node_modules\\java\\build\\Release\\nodejavabridge_bindings.node` does not exist. However on `0.12.1` this does exist (see screenshots below). This reflects also what the logs show.\r\n\r\n### Execution:\r\n```\r\nelectron-rebuild -f -w java \u0026\u0026 electron-packager . %electron_application% --overwrite --out %out% --extra-resource=%extra_resource_viewer% --extra-resource=%extra_resource_app% --icon=%electron_icon% --prune\r\n```\r\n\r\nI would be very glad to get some help on this, spend a day trying to resolve it but without any success. When you need more information, please notify me.\r\n\r\n### Versions:\r\n\r\n#### Software\r\n| software                                    | version |\r\n|---------------------------------------------|---------|\r\n| Visual Studio Community 2019                | 16.11.6 |\r\n| Workload \u003cbr\u003e`Desktop development with C++` | yes     |\r\n| Python                                      | 3.10.0  |\r\n\r\n#### Dependencies\r\n| dependency       | version |\r\n|------------------|---------|\r\n| node             | 16.5.0  |\r\n| electron         | 12.2.2  |\r\n| electron-packager | 15.4.0 |\r\n| electron-rebuild | 3.2.5   |\r\n| node-java        | 0.12.2  |\r\n\r\n### Logs / Stacktrace (partially in German)\r\n\r\n```log\r\n[INFO] --- frontend-maven-plugin:1.12.0:npm (npm package electron app) @ electronbrowser ---\r\n[INFO] Running 'npm run build-electron' in C:\\Users\\[...]\\electronbrowser\\src\\main\\electron\r\n[INFO]\r\n[INFO] \u003e Electron-Browser@1.0.0 build-electron\r\n[INFO] \u003e npm run rebuild \u0026\u0026 npm run package-electron\r\n[INFO]\r\n[INFO]\r\n[INFO] \u003e Electron-Browser@1.0.0 rebuild\r\n[INFO] \u003e electron-rebuild -f -w java\r\n[INFO]\r\n[INFO] - Searching dependency tree\r\n[INFO] Die Projekte in dieser Projektmappe werden nacheinander erstellt. Um eine parallele Erstellung zu erm?glichen, m?ssen Sie den Schalter \"-m\" hinzuf?gen.\r\n[INFO]   java.cpp\r\n[INFO] C:\\Users\\myUserName\\.electron-gyp\\12.2.2\\include\\node\\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [C:\\Users\\[...]\\electronbrowser\\src\\main\\electron\\node_modules\\java\\build\\nodejavabridge_bindings.vcxproj]\r\n[INFO]   javaObject.cpp\r\n[INFO] C:\\Users\\myUserName\\.electron-gyp\\12.2.2\\include\\node\\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [C:\\Users\\[...]\\electronbrowser\\src\\main\\electron\\node_modules\\java\\build\\nodejavabridge_bindings.vcxproj]\r\n[INFO]   javaScope.cpp\r\n[INFO]   methodCallBaton.cpp\r\n[INFO] C:\\Users\\myUserName\\.electron-gyp\\12.2.2\\include\\node\\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [C:\\Users\\[...]\\electronbrowser\\src\\main\\electron\\node_modules\\java\\build\\nodejavabridge_bindings.vcxproj]\r\n[INFO]   nodeJavaBridge.cpp\r\n[INFO] C:\\Users\\myUserName\\.electron-gyp\\12.2.2\\include\\node\\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [C:\\Users\\[...]\\electronbrowser\\src\\main\\electron\\node_modules\\java\\build\\nodejavabridge_bindings.vcxproj]\r\n[INFO]   utils.cpp\r\n[INFO] C:\\Users\\myUserName\\.electron-gyp\\12.2.2\\include\\node\\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [C:\\Users\\[...]\\electronbrowser\\src\\main\\electron\\node_modules\\java\\build\\nodejavabridge_bindings.vcxproj]\r\n[INFO]   win_delay_load_hook.cc\r\n[INFO]      Bibliothek \"C:\\Users\\[...]\\electronbrowser\\src\\main\\electron\\node_modules\\java\\build\\Release\\nodejavabridge_bindings.lib\" und Objekt \"C:\\Users\\[...]\\electronbrowser\\src\\main\\electron\\node_modules\\java\\build\\Release\\nodejavabridge_bindings.exp\" werden erstellt.\r\n[INFO] utils.obj : error LNK2001: Nicht aufgel?stes externes Symbol \"\"__declspec(dllimport) public: class std::shared_ptr\u003cclass v8::BackingStore\u003e __cdecl v8::ArrayBuffer::GetBackingStore(void)\" (__imp_?GetBackingStore@ArrayBuffer@v8@@QEAA?AV?$shared_ptr@VBackingStore@v8@@@std@@XZ)\". [C:\\Users\\[...]\\electronbrowser\\src\\main\\electron\\node_modules\\java\\build\\nodejavabridge_bindings.vcxproj]\r\n[INFO] C:\\Users\\[...]\\electronbrowser\\src\\main\\electron\\node_modules\\java\\build\\Release\\nodejavabridge_bindings.node : fatal error LNK1120: 1 nicht aufgel?ste Externe [C:\\Users\\[...]\\electronbrowser\\src\\main\\electron\\node_modules\\java\\build\\nodejavabridge_bindings.vcxproj]\r\n[INFO] C:\\Users\\[...]\\electronbrowser\\src\\main\\electron\\node_modules\\java\\build\\Release\\nodejavabridge_bindings.node : fatal error LNK1120: 1 nicht aufgel?ste Externe [C:\\Users\\[...]\\electronbrowser\\src\\main\\electron\\node_modules\\java\\build\\nodejavabridge_bindings.vcxproj]Ã? Rebuild Failed\r\n[INFO]\r\n[INFO] An unhandled error occurred inside electron-rebuild\r\n[INFO] node-gyp failed to rebuild 'C:\\Users\\[...]\\electronbrowser\\src\\main\\electron\\node_modules\\java'.\r\n[INFO] For more information, rerun with the DEBUG environment variable set to \"electron-rebuild\".\r\n[INFO]\r\n[INFO] Error: `C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\MSBuild\\Current\\Bin\\MSBuild.exe` failed with exit code: 1\r\n[INFO]\r\n[INFO]\r\n[INFO]\r\n[INFO] Error: node-gyp failed to rebuild 'C:\\Users\\[...]\\electronbrowser\\src\\main\\electron\\node_modules\\java'.\r\n[INFO] For more information, rerun with the DEBUG environment variable set to \"electron-rebuild\".\r\n[INFO]\r\n[INFO] Error: `C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\MSBuild\\Current\\Bin\\MSBuild.exe` failed with exit code: 1\r\n[INFO]\r\n[INFO]\r\n[INFO]     at NodeGyp.rebuildModule (C:\\Users\\[...]\\electronbrowser\\src\\main\\electron\\node_modules\\electron-rebuild\\lib\\src\\module-type\\node-gyp.js:117:19)\r\n[INFO]     at processTicksAndRejections (node:internal/process/task_queues:96:5)\r\n[INFO]     at async ModuleRebuilder.rebuildNodeGypModule (C:\\Users\\[...]\\electronbrowser\\src\\main\\electron\\node_modules\\electron-rebuild\\lib\\src\\module-rebuilder.js:94:9)\r\n[INFO]     at async ModuleRebuilder.rebuild (C:\\Users\\[...]\\electronbrowser\\src\\main\\electron\\node_modules\\electron-rebuild\\lib\\src\\module-rebuilder.js:124:14)\r\n[INFO]     at async Rebuilder.rebuildModuleAt (C:\\Users\\[...]\\electronbrowser\\src\\main\\electron\\node_modules\\electron-rebuild\\lib\\src\\rebuild.js:145:13)\r\n[INFO]     at async Rebuilder.rebuild (C:\\Users\\[...]\\electronbrowser\\src\\main\\electron\\node_modules\\electron-rebuild\\lib\\src\\rebuild.js:108:17)\r\n[INFO]     at async C:\\Users\\[...]\\electronbrowser\\src\\main\\electron\\node_modules\\electron-rebuild\\lib\\src\\cli.js:154:9\r\n```\r\n\r\n### Folder comparison\r\n\r\n|                        Using 0.12.1                         |                 Using 0.12.2                |\r\n|:--------------------------------------------------------------------------------------------------------------:|:--------------------------------------------------------------------------------------------------------------:|\r\n| ![image](https://user-images.githubusercontent.com/7572614/141504442-836c8278-851f-4ccd-969a-41ade226b251.png) | ![image](https://user-images.githubusercontent.com/7572614/141476918-c4d4575a-aded-4516-8dbc-81894160e012.png) |\r\n\r\n\r\n## Edit 1\r\nChanged setup to make it at least completely runnable on version 0.12.1. This made the issue also less confusing. By now I'm pretty sure that is a bug with node-java.","author":{"url":"https://github.com/DManstrator","@type":"Person","name":"DManstrator"},"datePublished":"2021-11-12T14:40:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/541/node-java/issues/541"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:87f0ee7f-d4f7-2027-92fc-64b81a6be44f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB49A:2C22F5:183A826:1FE3CCA:6977104D
html-safe-nonceb5443099d1f1131e6dadbd60ac063f66f386a5898e466cde2c324bfbd3b23af2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDlBOjJDMjJGNToxODNBODI2OjFGRTNDQ0E6Njk3NzEwNEQiLCJ2aXNpdG9yX2lkIjoiODAyMTc3NjcwOTAzMzg1NzEwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac36f34c5e2eaa3c8536d7cc4e570707cf4f89e7303fe8bbf53dae59b97fa33938
hovercard-subject-tagissue:1052032921
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/joeferner/node-java/541/issue_layout
twitter:imagehttps://opengraph.githubassets.com/44bcb65ba480ed0b64ba6dc8775a69f4b9970be80119255ba5b6c0627da5fd1e/joeferner/node-java/issues/541
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/44bcb65ba480ed0b64ba6dc8775a69f4b9970be80119255ba5b6c0627da5fd1e/joeferner/node-java/issues/541
og:image:altHello. When using version 0.12.1 , building and running the electron app works, but not with using version 0.12.2. When I try to use the code below, it fails on 0.12.2 since electronbrowser\src\mai...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameDManstrator
hostnamegithub.com
expected-hostnamegithub.com
None01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09
turbo-cache-controlno-preview
go-importgithub.com/joeferner/node-java git https://github.com/joeferner/node-java.git
octolytics-dimension-user_id808857
octolytics-dimension-user_loginjoeferner
octolytics-dimension-repository_id3228734
octolytics-dimension-repository_nwojoeferner/node-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3228734
octolytics-dimension-repository_network_root_nwojoeferner/node-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef752335dbbea672610081196a1998e39aec5e14b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/joeferner/node-java/issues/541#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjoeferner%2Fnode-java%2Fissues%2F541
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjoeferner%2Fnode-java%2Fissues%2F541
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=joeferner%2Fnode-java
Reloadhttps://patch-diff.githubusercontent.com/joeferner/node-java/issues/541
Reloadhttps://patch-diff.githubusercontent.com/joeferner/node-java/issues/541
Reloadhttps://patch-diff.githubusercontent.com/joeferner/node-java/issues/541
joeferner https://patch-diff.githubusercontent.com/joeferner
node-javahttps://patch-diff.githubusercontent.com/joeferner/node-java
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fjoeferner%2Fnode-java
Fork 290 https://patch-diff.githubusercontent.com/login?return_to=%2Fjoeferner%2Fnode-java
Star 1.9k https://patch-diff.githubusercontent.com/login?return_to=%2Fjoeferner%2Fnode-java
Code https://patch-diff.githubusercontent.com/joeferner/node-java
Issues 208 https://patch-diff.githubusercontent.com/joeferner/node-java/issues
Pull requests 6 https://patch-diff.githubusercontent.com/joeferner/node-java/pulls
Actions https://patch-diff.githubusercontent.com/joeferner/node-java/actions
Projects 0 https://patch-diff.githubusercontent.com/joeferner/node-java/projects
Wiki https://patch-diff.githubusercontent.com/joeferner/node-java/wiki
Security 0 https://patch-diff.githubusercontent.com/joeferner/node-java/security
Insights https://patch-diff.githubusercontent.com/joeferner/node-java/pulse
Code https://patch-diff.githubusercontent.com/joeferner/node-java
Issues https://patch-diff.githubusercontent.com/joeferner/node-java/issues
Pull requests https://patch-diff.githubusercontent.com/joeferner/node-java/pulls
Actions https://patch-diff.githubusercontent.com/joeferner/node-java/actions
Projects https://patch-diff.githubusercontent.com/joeferner/node-java/projects
Wiki https://patch-diff.githubusercontent.com/joeferner/node-java/wiki
Security https://patch-diff.githubusercontent.com/joeferner/node-java/security
Insights https://patch-diff.githubusercontent.com/joeferner/node-java/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/joeferner/node-java/issues/541
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/joeferner/node-java/issues/541
node-java v0.12.2 fails with electron-rebuild (fatal error LNK1120)https://patch-diff.githubusercontent.com/joeferner/node-java/issues/541#top
https://github.com/DManstrator
https://github.com/DManstrator
DManstratorhttps://github.com/DManstrator
on Nov 12, 2021https://github.com/joeferner/node-java/issues/541#issue-1052032921
https://user-images.githubusercontent.com/7572614/141504442-836c8278-851f-4ccd-969a-41ade226b251.png
https://user-images.githubusercontent.com/7572614/141476918-c4d4575a-aded-4516-8dbc-81894160e012.png
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.