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

Checksum error installing on Raspberry Pi 3B+ #371

Open
wackyworm opened this issue Nov 10, 2021 · 1 comment
Open

Checksum error installing on Raspberry Pi 3B+ #371

wackyworm opened this issue Nov 10, 2021 · 1 comment

Comments

@wackyworm
Copy link

pi@raspberrypi:~/dev-node/apeswap-pools $ npm i secret-agent
npm ERR! code 1
npm ERR! path /home/pi/dev-node/apeswap-pools/node_modules/@secret-agent/mitm-socket
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! Could not install MitmSocket library Error: Invalid checksum found for Secret Agent MitmSocket library
npm ERR! at getSourceChecksum (/home/pi/dev-node/apeswap-pools/node_modules/@secret-agent/mitm-socket/install.js:134:15)
npm ERR! at processTicksAndRejections (internal/process/task_queues.js:95:5)
npm ERR! at async install (/home/pi/dev-node/apeswap-pools/node_modules/@secret-agent/mitm-socket/install.js:27:22)

npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2021-11-10T08_42_19_194Z-debug.log

pi@raspberrypi:~/dev-node/apeswap-pools $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

pi@raspberrypi:~/dev-node/apeswap-pools $ uname -m
armv7l

2021-11-10T08_42_19_194Z-debug.log

@blakebyrnes
Copy link
Contributor

Thanks for reporting. We're currently outputting an "arm64" build, but not an "arm" build. You can work around this for now by installing golang 1.14 on that machine and building with an env variable of SA_REBUILD_MITM_SOCKET=1. I have not tested anything on a Rasberry Pi to date, so I'm not sure if it would work or not.

NOTE: you likely do not want to install Replay on this machine (SA_REBUILD_MITM_SOCKET=0 during install, SA_SHOW_REPLAY=0 during runtime).

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

2 participants