Comments (6)
--- up.original.sh 2021-04-28 15:40:30.000000000 +0900
+++ up.sh 2021-04-28 15:40:56.000000000 +0900
@@ -58,6 +58,7 @@
found=1
case "$platform" in
darwin/amd64) found=0 ;;
+ darwin/arm64) found=0 ;;
darwin/386) found=0 ;;
linux/amd64) found=0 ;;
linux/386) found=0 ;;
@@ -124,6 +125,7 @@
x86) arch="386" ;;
i686) arch="386" ;;
i386) arch="386" ;;
+ arm64) arch="amd64" ;;
aarch64) arch="arm64" ;;
armv5*) arch="arm5" ;;
armv6*) arch="arm6" ;;
Just a hack for Rosetta 2
from up.
--- up.original.sh 2021-04-28 15:40:30.000000000 +0900 +++ up.sh 2021-04-28 15:40:56.000000000 +0900 @@ -58,6 +58,7 @@ found=1 case "$platform" in darwin/amd64) found=0 ;; + darwin/arm64) found=0 ;; darwin/386) found=0 ;; linux/amd64) found=0 ;; linux/386) found=0 ;; @@ -124,6 +125,7 @@ x86) arch="386" ;; i686) arch="386" ;; i386) arch="386" ;; + arm64) arch="amd64" ;; aarch64) arch="arm64" ;; armv5*) arch="arm5" ;; armv6*) arch="arm6" ;;Just a hack for Rosetta 2
Is this the official solution? If so can you elaborate on the solution? Like where did you get the up.sh
file if you can't run this command $ curl -sf https://up.apex.sh/install | sh
?
from up.
@toymachiner62 this command literally fetches up.sh
and executes it.
All you have to do is open the link directly, copy the content, save it somewhere in your mac (e.g. up.sh
), add the lines mentioned and run it via sh /path/to/your/up.sh
.
from up.
arm64) arch="amd64" ;;
Thanks for this.
Getting a different error now:
$ up version
apex/up: found version ersion for darwin/amd64
apex/up: downloading https://github.com/apex/up/releases/download/version/up_ersion_darwin_amd64.tar.gz
curl: (22) The requested URL returned error: 404
I'm on an M1 Max CPU if that matters.
from up.
Hi, I also found this, but could install the script from a Rosetta terminal.
from up.
Tried installing this on my M1 Macbook Pro using the above up.sh fix, but all I get is:
apex/up: checking GitHub for latest version usage: cut -b list [-n] [file ...] cut -c list [file ...] cut -f list [-s] [-w | -d delim] [file ...]
from up.
Related Issues (20)
- Up re-uses an URL despite being run on a different repo, what gives? HOT 2
- fetch requests fails as network errors on chrome console HOT 4
- GLIBC_2.32 not found / CGO_ENABLED=0 HOT 4
- Support ES Modules with the nodejs14.x runtime
- [PRO] EOL: update warming runtime to nodejs14.x HOT 7
- Node.js AWS SDK V3 credential issue when using "profile" in up.json HOT 1
- Errors are reported in many lines
- AWS API Gateway is setting MIME type for Excel and Word to ZIP
- Remove old Lambda Version HOT 2
- Deployment Fails with "ResourceConflictException" in Lambda HOT 32
- Possible to statically serve up from root endpoint instead of /stage? HOT 1
- Up chooses ineligible certificate from acm
- Wiki link broken
- nodejs10.x is no longer supported HOT 3
- Luna
- Is apex up still a reliable, maintained deployment solution HOT 1
- 09371237653
- Passing SIGINT signals inside the application.
- Vulnerability of dependency "golang.org/x/net" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from up.