Skip to content
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

Feature Request - Support for Raspberry zero/4 #12

Open
jjpl2001email opened this issue May 30, 2021 · 3 comments
Open

Feature Request - Support for Raspberry zero/4 #12

jjpl2001email opened this issue May 30, 2021 · 3 comments

Comments

@jjpl2001email
Copy link

Hello. I'm a newbe I had been trying to compile it for Raspi 4 using Raspbian Release date: May 7th 2021
Kernel version: 5.10.

But I get the error in the attached Text file. Again I am a newbe in this and at this point I don't know if there is some dependency missing.

I had to go through a couple of extra steps to be able to upgrade the Node and the NPM versions on the lastest Raspiban as they are using node 10.

Raspi Cryptoseed errors.txt

In future I dream with a compact tool to encrypt and decrypt QRs with this aplication so I want to start working in adding a Camera and comunicate with the software to start decoding QR on the fly. Maybe even using a Raspy Zero later after succes on this development.

Thank you for the great app.

@jjpl2001email
Copy link
Author

I forgot to say that I did change the "package.json" file to add the following line

"pack:raspi": "electron-builder build --linux deb --armv7l",

@anderson-arlen
Copy link
Owner

Sorry, I'd put some effort into updating this, but at the moment I just don't have the time. The best I can do is give you some guidance:

I'd recommend trying nvm so you can easily try different node versions. I don't recall which version of Node I used to build this, but would guess it was somewhere around versions 8 to 10.

Likewise, take a look at the npm page for electron-builder and see which versions would have been active around 4 years ago. Probably something like 19.43.0.

You can install specific packages like so:

npm install -g electron-builder@19.43.0

It will probably build easily if you try Node version 8 and electron-builder 19. If you try running it with more modern versions of everything, you're bound to run into issues.

@AngelVRodC
Copy link

You need to install a node version higher than 14.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants