This repository was archived by the owner on Jul 15, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 18
This repository was archived by the owner on Jul 15, 2022. It is now read-only.
"Unsupported platform + architecture combination for linux-arm64" Error when trying to run from Ubuntu on a Raspberry Pi 4 Β #36
Copy link
Copy link
Open
Description
ubuntu@ubuntu:~$ wget -qO- https://sitejs.org/install | bash
π‘ Downloading Site.js version 20210103130813 (16.0.5/d4fe1e9)β¦
π¦ Installingβ¦
π Done!
ubuntu@ubuntu:~$ mkdir hello
ubuntu@ubuntu:~$ cd hello/
ubuntu@ubuntu:~/hello$ echo 'Hello, world' > index.html
ubuntu@ubuntu:~/hello$ site
π± ββββββββββββββββββββββββββββ ββββββββββ
ββββββββββββββββββββββββββββ ββββββββββ
βββββββββββ βββ ββββββ ββββββββββ
βββββββββββ βββ ββββββ ββ ββββββββββ
βββββββββββ βββ ββββββββββββββββββββββββββ
Created January 3rd, 2021 at 13:08:13
Version 20210103130813-16.0.5-d4fe1e9-linux/arm64
Node.js 12.16.2
Hugo 0.78.0
Base https://sitejs.org/nexe/linux-arm64-12.16.2
Source https://source.small-tech.org/site.js/app/-/tree/d4fe1e9
βββββββββββββββββββββββββββββββββββββββββββββ
β Like this? Fund us! β
β β
β Weβre a tiny, independent not-for-profit. β
β https://small-tech.org/fund-us β
βββββββββββββββββββββββββββββββββββββββββββββ
π β¨site.jsβ© Linux: about to disable privileged ports so we can bind to ports < 1024.
β¨site.jsβ© For details, see: https://source.small-tech.org/site.js/app/-/issues/169
π§ β¨site.jsβ© Using locally-trusted certificates.
π β¨httpsβ© Creating server at localhost with locally-trusted certificates.
(node:11091) UnhandledPromiseRejectionWarning: Error: Unsupported platform + architecture combination for linux-arm64
at mkcertBinaryForThisMachine (/usr/local/bin/node_modules/@small-tech/auto-encrypt-localhost/lib/mkcertBinaryForThisMachine.js:42:55)
at Function.createServer (/usr/local/bin/node_modules/@small-tech/auto-encrypt-localhost/index.js:76:26)
at Object.smallTechHttps.createServer (/usr/local/bin/node_modules/@small-tech/https/index.js:42:56)
at Site._createServer (/usr/local/bin/index.js:889:18)
at Site.createServer (/usr/local/bin/index.js:722:24)
at new Site (/usr/local/bin/index.js:337:10)
at /usr/local/bin/bin/commands/serve.js:232:16
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:11091) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:11091) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
ubuntu@ubuntu:~/hello$
System info
ubuntu@ubuntu:~/hello$ hostnamectl
Static hostname: ubuntu
Icon name: computer
Machine ID: c85b5d9e2fb84521a2448cbb564014a1
Boot ID: f282a153835043c0a7618f4344d46a2d
Operating System: Ubuntu 20.04.2 LTS
Kernel: Linux 5.4.0-1028-raspi
Architecture: arm64
Metadata
Metadata
Assignees
Labels
No labels