ARM Build instructions
See original GitHub issueMar 23 00:05:34 locky grafana-server[1269]: t=2020-03-23T00:05:34+0100 lvl=eror msg="Failed to start plugin" logger=plugins.backend pluginId=grafana-strava-datasource error="fork/exec /var/lib/grafana/plugins/grafana-strava-datasource/dist/strava-plugin_linux_arm: no such file or directory"
why is looking inside of dist/
for a architecture for that there is no build?
Plugin doesn’t have compiled binaries for arm arch. If you want to run it with Raspberry Pi, you should build it for this arch first.
but how is the question?
I just tried that from here:
root@locky:/media/locky/grafana/plugins/grafana-strava-datasource# yarn install --pure-lockfile
yarn install v1.22.4
[1/4] Resolving packages...
[2/4] Fetching packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://registry.yarnpkg.com/@icons/material/-/material-0.2.4.tgz: ESOCKETTIMEDOUT".
info If you think this is a bug, please open a bug report with the information provided in "/media/locky/grafana/plugins/grafana-strava-datasource/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
root@locky:/media/locky/grafana/plugins/grafana-strava-datasource# yarn install --pure-lockfile
yarn install v1.22.4
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.2.9: The platform "linux" is incompatible with this module.
info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@2.1.2: The platform "linux" is incompatible with this module.
info "fsevents@2.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@2.1.2: The engine "node" is incompatible with this module. Expected version "^8.16.0 || ^10.6.0 || >=11.0.0". Got "8.10.0"
[3/4] Linking dependencies...
warning "@grafana/runtime > @grafana/ui > @grafana/slate-react > slate-react-placeholder@0.2.9" has unmet peer dependency "slate-react@>=0.22.0".
[4/4] Building fresh packages...
Done in 400.01s.
root@locky:/media/locky/grafana/plugins/grafana-strava-datasource# yarn build
yarn run v1.22.4
$ webpack --config webpack/webpack.prod.conf.js
Hash: 0679b57eef11404f4828
Version: webpack 4.41.5
Time: 29353ms
Built at: 03/23/2020 12:51:09 AM
Asset Size Chunks Chunk Names
CHANGELOG.md 484 bytes [emitted]
README.md 1.38 KiB [emitted]
dashboards/strava_athlete_dashboad.json 14.6 KiB [emitted]
dashboards/strava_athlete_dashboad_modern.json 14.9 KiB [emitted]
dashboards/strava_datasource.json 8.78 KiB [emitted]
img/btn_strava_connectwith_orange.svg 11.3 KiB [emitted]
img/strava_logo.svg 291 bytes [emitted]
index.html 182 bytes [emitted]
module.js 25.4 KiB 0 [emitted] main
plugin.json 1.24 KiB [emitted]
Entrypoint main = module.js
[0] external "react" 42 bytes {0} [built]
[1] external "@grafana/ui" 42 bytes {0} [built]
[2] external "@grafana/data" 42 bytes {0} [built]
[3] external "emotion" 42 bytes {0} [built]
[4] external "@grafana/runtime" 42 bytes {0} [built]
[5] external "moment" 42 bytes {0} [built]
[6] ./module.tsx + 7 modules 53.4 KiB {0} [built]
| ./module.tsx 670 bytes [built]
| ./datasource.ts 16 KiB [built]
| ./types.ts 1.15 KiB [built]
| ./stravaApi.ts 12.4 KiB [built]
| ./polyline.ts 1.18 KiB [built]
| + 3 hidden modules
Child html-webpack-plugin for "index.html":
1 asset
Entrypoint undefined = index.html
3 modules
Done in 34.40s.
but no binary created inside of dist/
. In fact, the other binaries inside of /dist
were deleted.
Any suggestion how to compile the “strava-plugin_linux_arm” binary?
Issue Analytics
- State:
- Created 3 years ago
- Comments:7
Top Results From Across the Web
Writing ARM Assembly (Part 1) - Azeria Labs
Welcome to this tutorial series on ARM assembly basics. This is the preparation for the followup tutorial series on ARM exploit development.
Read more >Robotic Arm Instructions | HEXBUG
Robotic Arm Instructions. Be the first to review this product. $0.00. SKU. 406-4202-BI. Click Here to Download VEX Robotics Robotic Arm Instructions.
Read more >EV3 Robot Arm Building Instructions
Ta medela dečaka na pada patria debet, ja da da a jakya AnkaraĞI. LEGO MINDSTerms education. EV3. Page 3. 1. 2x. 4x. 1....
Read more >ArmUno and MeArm Assembly Build Tutorials and Pictures
ArmUno MeArm Compatible Robot Arm Kit Tutorials with pictures.
Read more >Arm Assembly Guides - Lynxmotion
Arm Assembly Guides Here are all the current assembly guides for our robot kits. To see the old assembly guides, please click here....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I got following errors:
looks like a issue with the
vendor
module, which said me nothing.just runned this inside
/pkg
withoutvendor
flag:env GOOS=linux GO111MODULE=on GOARCH=arm GOARM=7 go build -ldflags="-s -w" -o ./strava-plugin_linux_arm
and went well. I google and the solution was to execute:
go mod vendor
I runned it again with thevendor
flag:env GOOS=linux GO111MODULE=on GOARCH=arm GOARM=7 go build -ldflags="-s -w" -mod=vendor -o ./dist/strava-plugin_linux_arm ./pkg
All went well again and the binary was built inside the
/dist
directoryThanks and credits to @BobMiles @devdavidkarlsson – happy straving!
@devdavidkarlsson definitely! much appreciated.