-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
prebuild-install failed with error once i'm upgrading electron 28 and node 20 #74
Comments
Same for me in Linux, but in Windows works well after installing Windows SDK 10.0.22000 |
Try this out! It resolves many common issues during version upgrades and is fully compatible with the latest Electron version. The library and APIs remain consistent since it’s a fork of the original project.
Electron Printer |
Hello @Susheer, I recently tried your project and encountered a few issues I’d like to bring to your attention.
Additionally, I wanted to share that I find your focus on a NAPI-based implementation to be brilliant! I’d love to contribute to the project and support its development. However, I’d appreciate some guidance on how to get started. Thank you for your time and effort on this project. Looking forward to your response. Best regards, |
Here's a polite and engaging response you can send:
------------------------------
Hi Marlon,
Thank you for your detailed feedback and for giving the project a try! I
appreciate you taking the time to highlight the issues you've encountered.
Regarding the missing binaries for version 2.0.2, I’ll ensure this is
addressed as soon as possible. I’ll upload the prebuilt binaries for the
latest release and verify the build process to ensure everything works
seamlessly.
As for the build errors you’re facing, there might be a mismatch in the
compiler settings. Specifically, the -std=gnu++20 flag causing issues
suggests that the built environment might need a slight adjustment. I’ll
investigate this further and update the documentation to help others facing
similar challenges.
To help us debug the issue more effectively, could you please open an issue
on the GitHub repository? It would be great if you could include the
following details:
- Operating System and version
- Node.js version
- NPM version
- Electron version
- Platform and architecture (e.g., x64, arm64)
- Steps to reproduce the issue
- Any additional logs or screenshots that might help
I'm thrilled that you’re interested in contributing! Your expertise would
be a great addition to the project. Here are a few ways you can get started:
1. *Check the Issues Tab*: I’ll label beginner-friendly issues and tasks
that need attention.
2. *Platform Support*: Since the library is Windows-only, extending
support to other platforms could be a fantastic contribution.
3. *Documentation*: Improving setup guides and troubleshooting
documentation could help future contributors and users.
Thanks again for your support and enthusiasm—I’m excited to collaborate
with you!
Best regards,
Susheer
… Message ID: ***@***.***>
|
There is this option too, it doesn't have all the APIs, but it works well https://www.npmjs.com/package/printer-node-electron?activeTab=readme |
{
"name": "vaibhav",
"version": "1.0.9",
"description": "vaibhav app",
"productName": "vaibhav",
"main": "main.js",
"targetUrl": "",
"scripts": {
"start": "electron .",
"postinstall": "electron-builder install-app-deps",
"package-linux": "electron-packager . vaibhav --overwrite --platform=linux --arch=x64 --prune=false --out=release-builds",
"package-windows": "electron-packager . vaibhav --overwrite --platform=win32 --arch=x64 --prune=false --out=release-builds",
"deb64": "electron-installer-debian --src ./release-builds/vaibhav-linux-x64/ --dest ../installers/ --arch amd64"
},
"keywords": [
"demo"
],
"build": {
"npmRebuild": false,
"electron": "./node_modules/.bin/electron",
"win": {
"icon": "icon/vaibhav-Logo.png",
"target": [
{
"target": "nsis",
"arch": [
"x64",
"ia32"
]
}
]
},
"nsis": {
"oneClick": false,
"perMachine": true,
"include": "installer.nsh"
}
},
"author": "demo",
"license": "ISC",
"devDependencies": {
"electron": "^28.1.0",
"electron-builder": "^24.9.1",
"electron-packager": "^17.1.2",
"electron-rebuild": "^3.2.9"
},
"dependencies": {
"@woovi/node-printer": "^1.0.1",
"axios": "^1.6.3",
"electron-dl": "^3.2.1",
"electron-store": "^7.0.0",
"electron-updater": "5.0.0",
"knex": "^3.1.0",
"nedb": "^1.8.0",
"nedb-promises": "^6.2.3",
"node-abi": "^2.19.3",
"node-pre-gyp": "^0.15.0",
"node-thermal-printer": "^4.1.2",
"sqlite3": "^5.1.6"
}
}
The text was updated successfully, but these errors were encountered: