We switched to a manual approval system for registration on this forum, as this makes it easier to keep bots out of the forum. We'll approve everybody who doesn't look like a bot!

Build for Raspberry Pi

I just tried to build Zettlr on my Raspi 4. I have installed both node.js and yarn. If I try to run yarn install, I get this error and it quits (I have yarn installed):
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'install'

If I use npm, it seems to build (both in Zettlr and in source), but when I go to run make.sh, I get this:

00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'less'
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'handlebars'
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'reveal:build'
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'wp:prod'
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'lang:refresh'
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'release:win'
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'release:mac'
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'release:linux'
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'release:app-image'

(output from the nmp install)

zettlr@1.6.0 postinstall /home/pi/Zettlr
electron-builder install-app-deps

  • electron-builder  version=22.4.1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules/watchpack/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})

As a test, I did the exact same thing on my Mac--clone, go to the Zettler folder and do a "yarn install" it works, and everything works, including getting a working Mac app, packages, etc.

But on my Raspi, nothing but the above errors. Is it not possible to compile on arm7? or am I missing something?

Sign In or Register to comment.