dgraph-io / ratel

Dgraph Data Visualizer and Cluster Manager
Apache License 2.0
125 stars 50 forks source link

How to install dgraph-ratel through binary mode in an arm environment #311

Closed Zzt1993 closed 1 year ago

Zzt1993 commented 1 year ago

What version of Ratel are you using?

latest

What you did.

image

What happened.

fatal: Needed a single revision

What you expect to happen.

No response

Can we reproduce the issue?

[root@k3s-14 ratel@v0.0.0-20230409031452-074df688a0ff]# ./scripts/build.prod.sh fatal: Needed a single revision

Additional information

How to install dgraph-ratel through binary mode in an arm environment

MichelDiz commented 1 year ago

Try adding this line https://github.com/dgraph-io/ratel/blob/074df688a0ff2323b2da296be9b3909cc9f5b6ee/scripts/functions.sh#L86 the env variables GOOS=linux GOARCH=arm64.

BTW, I'm not so sure if the npm build process will succeed in ARM.

Zzt1993 commented 1 year ago

Thank you for your reply. I have already solved the problem

MichelDiz commented 1 year ago

np,

Cheers.