extism/js-pdk

unknown os and unknown arch

Closed this issue ยท 1 comments

k33g commented

๐Ÿ‘‹ Hello. I'm using Multipass for my development workspace (on a Mac M1), then

  • the value of $OSTYPE is linux-gnu but I need to run the installer like this: bash install.sh (instead of sh install.sh otherwise I will get this message: unknown os
  • then I get: unknown arch, the workaround was to change arm64*) ARCH="aarch64" ;; by arm64*|aarch64*) ARCH="aarch64" ;;
bhelx commented

Thanks!