Hello,
it’s really hard to use deltachat-desktop on a Raspberry Pi with all theses needed steps for someone who wants only using it.
I’d never so much problems before compiling / using other stuff outside from a debian version before.
I removed the node and rustc stuff again and installed now the requested versions:
pi@mcraspi4:~/test $ rustc --version
rustc 1.58.1 (db9d1b20b 2022-01-20)
pi@mcraspi4:~/test $ node --version
v14.19.0
pi@mcraspi4:~/test $ npm --version
6.14.16
By the way first warning with npm install was showing someone of the developers use a different newer npm?
pi@mcraspi4:~/test $ git clone https://github.com/deltachat/deltachat-desktop.git
Klone nach 'deltachat-desktop' ...
remote: Enumerating objects: 37004, done.
remote: Counting objects: 100% (1291/1291), done.
remote: Compressing objects: 100% (507/507), done.
remote: Total 37004 (delta 869), reused 1101 (delta 769), pack-reused 35713
Empfange Objekte: 100% (37004/37004), 54.24 MiB | 2.20 MiB/s, fertig.
Löse Unterschiede auf: 100% (28357/28357), fertig.
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
> deltachat-node@1.75.1 install /home/pi/test/deltachat-desktop/node_modules/deltachat-node
> node scripts/install.js
[i] Building rust core & c bindings, if possible use prebuilds
[i] running `npm run install:prebuilds`
> deltachat-node@1.75.1 install:prebuilds /home/pi/test/deltachat-desktop/node_modules/deltachat-node
> node-gyp-build "npm run build:core" "npm run build:bindings:c:postinstall"
> deltachat-node@1.75.1 build:core /home/pi/test/deltachat-desktop/node_modules/deltachat-node
> npm run build:core:rust && npm run build:core:constants
> deltachat-node@1.75.1 build:core:rust /home/pi/test/deltachat-desktop/node_modules/deltachat-node
> node scripts/rebuild-core.js
info: syncing channel updates for '1.54.0-aarch64-unknown-linux-gnu'
info: latest update on 2021-07-29, rust version 1.54.0 (a178d0322 2021-07-26)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustfmt'
Updating git repository `https://github.com/rusqlite/rusqlite`
Updating crates.io index
By the way the npm install command is still running. Hope it will work now. Hope you can also add binary support for aarch64/arm64.
Edit:
The npm install looks like has to been finished. Because of swapping I must reboot the pi because it was not further available (screen off, sdcard lit permanent on, no reaction on ssh connection request …)
After rebooting a restart of npm install has to been finished with some warnings:
npm WARN @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.14.5 requires a peer of @babel/core@^7.13.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-proposal-class-static-block@7.14.5 requires a peer of @babel/core@^7.12.0 but none is installed. You must install peer dependencies yourself.
npm WARN @blueprintjs/core@3.22.3 requires a peer of react@^15.3.0 || 16 but none is installed. You must install peer dependencies yourself.
npm WARN @blueprintjs/core@3.22.3 requires a peer of react-dom@^15.3.0 || 16 but none is installed. You must install peer dependencies yourself.
npm WARN create-react-context@0.3.0 requires a peer of react@^0.14.0 || ^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN emoji-mart@3.0.0 requires a peer of react@^0.14.0 || ^15.0.0-0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-popper@1.3.7 requires a peer of react@0.14.x || ^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-qr-reader@2.2.1 requires a peer of react@~16 but none is installed. You must install peer dependencies yourself.
npm WARN react-qr-reader@2.2.1 requires a peer of react-dom@~16 but none is installed. You must install peer dependencies yourself.
npm WARN react-qr-svg@2.2.1 requires a peer of react@>= 0.11.2 < 17.0.0 but none is installed. You must install peer dependencies yourself.
audited 1715 packages in 33.26s
204 packages are looking for funding
run `npm fund` for details
found 13 vulnerabilities (9 moderate, 4 high)
run `npm audit fix` to fix them, or `npm audit` for details
Now npm run build is failed so I start again with clone command. Maybe the reboot has something corrupted