leon
leon copied to clipboard
Unsupported platform/architecture: darwin-arm64
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)
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.
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