react-movable icon indicating copy to clipboard operation
react-movable copied to clipboard

Contributing: cannot `yarn install` on arm mac

Open IanVS opened this issue 1 year ago • 1 comments

I tried to contribute a feature, and when running yarn install I get the following error:

/Users/ianvs/code/ianvs/react-movable/node_modules/puppeteer: Command failed.
Exit code: 1
Command: node install.js
Arguments:
Directory: /Users/ianvs/code/ianvs/react-movable/node_modules/puppeteer
Output:
The chromium binary is not available for arm64:
If you are on Ubuntu, you can install with:

 apt-get install chromium-browser

/Users/ianvs/code/ianvs/react-movable/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserFetcher.js:112
            throw new Error();
            ^

Error
    at /Users/ianvs/code/ianvs/react-movable/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserFetcher.js:112:19
    at FSReqCallback.oncomplete (node:fs:208:21)

IanVS avatar Jun 24 '24 13:06 IanVS

I tried updating puppeteer, which worked, but now I'm getting this error when I try to run the tests:

> ladle serve --output stream --open none

error: unknown option '--output'

IanVS avatar Jun 24 '24 13:06 IanVS

Yea, I need to update the tooling in this repo (as I just did for https://github.com/tajo/react-range) and will go through these PRs. Thanks!

tajo avatar Jul 17 '24 22:07 tajo

@tajo I did some updates and was able to get tests passing in 8759779 (#106)

IanVS avatar Jul 18 '24 15:07 IanVS