leon icon indicating copy to clipboard operation
leon copied to clipboard

Unsupported platform/architecture: darwin-arm64

Open Ruivalim opened this issue 3 years ago • 3 comments

Specs

  • Leon version: 1.0.0-beta.4
  • OS (or browser) version: Macbook M1 on version 11.4
  • Node.js version: v16.10.0
  • Complete "npm run check" output: ✔ Hooray! Leon can run correctly

When running npm start the following error is thrown:

> [email protected] start
> cross-env LEON_NODE_ENV=production node ./server/dist/index.js

.../leon/node_modules/@ffmpeg-installer/ffmpeg/index.js:14
    throw 'Unsupported platform/architecture: ' + platform;
    ^
Unsupported platform/architecture: darwin-arm64
(Use `node --trace-uncaught ...` to show where the exception was thrown)

Ruivalim avatar Nov 21 '21 19:11 Ruivalim

I tested Leon with @ffmpeg-install/[email protected] and it works now. Unfortunately @ffprobe-installer/ffprobe does not yet support darwin-arm64. This merge request is pending to add support, but it seems to have stalled. I tried the package node-ffprobe-installer but that gave me an error about not being able to find the ffprobe executable.

madmod avatar Dec 07 '21 01:12 madmod

Hi, this month we have been working on compiling all Python stuff related upfront. Meaning, Leon does not need Python at runtime anymore.

Please try the three following commands and let's see how it goes and paste the report URL:

# Install the beta version of the Leon CLI
npm install --global @leon-ai/cli@beta

# Create a Leon instance based on the develop GitHub branch
leon create birth --develop

# Create a report
leon check

louistiti avatar Oct 23 '22 16:10 louistiti