Open 0xjones opened 1 year ago
It seems node-canvas doesn't work on apple siliicon out of the box. I did some googling and found this:
hope it helps
I don't think I have the expertise to resolve this but thank you for looking into this @mifi
I don't have much time to work on this now, so I think we can only wait for someone to improve the situation with node-canvas and apple silicon
I've been running editly in Apple Silicon on Node v18.12.1
My yarn.lock quotes version for other dependencies as follows:
editly@^0.14.1: version "0.14.2" resolved "https://registry.yarnpkg.com/editly/-/editly-0.14.2.tgz#cab94f0b627057ab6c6515a1592f98ffda12b1cc" integrity sha512-XSeoZIM+wopCTEnOEFMSjvJ5fuQHhjeoOCkzDl1ZkpPlP4TqaTBArrHtRM+YlK6flhNxM3CCAt9O8XNn65cBBw== dependencies: canvas "^2.9.3" compare-versions "^4.1.4" execa "^6.1.0" fabric "^5.2.4" file-type "^18.0.0" file-url "^4.0.0" fs-extra "^10.1.0" gl "^5.0.3" gl-buffer "^2.1.2" gl-shader "^4.3.1" gl-texture2d "^2.1.0" gl-transition "^1.13.0" gl-transitions "^1.43.0" json5 "^2.2.1" lodash-es "^4.17.21" meow "^10.1.3" nanoid "^4.0.0" ndarray "^1.0.19" p-map "^5.5.0"
I had the same error on my Macbook Air M1, was able to fix by downgrading to node.js v14.18.3
@codergautam this worked for me as well.
Solution for me (M1 Macbook) was to use pyenv
(installed via brew
) to manage my Python versions. After doing this and installing Python 3.10 I was able to install Editly.
npm i -g editly
ornpm i editly@latest
Hello, I haven't been able to install editly via npm at all. I consistently get these errors:
npm ERR! A complete log of this run can be found in: npm ERR! /Users/ethanwizard/.npm/_logs/2023-01-01T11_42_50_621Z-debug-0.log