Sketch-sh/sketch-sh

Error with graphql_ppx during ```yarn install``` on M1

fedodd opened this issue · 1 comments

I tried to run yarn install on MacBook with M1, but got this error:

error /Users/fedorsemenov/frontend/sketch-sh/client/node_modules/@baransu/graphql_ppx_re: Command failed.
Exit code: 1
Command: node ./copyPlatformBinaryInPlace.js
Arguments: 
Directory: /Users/fedorsemenov/frontend/sketch-sh/client/node_modules/@baransu/graphql_ppx_re
Output:
graphql_ppx does not support this platform :(

graphql_ppx comes prepacked as built binaries to avoid large
dependencies at build-time.

If you want graphql_ppx to support this platform natively,

This should be fixed now in master, related commit:

2aba790 (thx @rusty-key )