api.serlo.org
api.serlo.org copied to clipboard
Running `yarn postgres:import-anonymous-data` didn't work on my Mac M1 machine
Error:
Internal Error: spawn Unknown system error -8
@hugotiburtino I have the same problem on an intel macbook
update: while it failed with yarn … it just ran with npm run … so maybe it' somehow related to that.
➜ yarn -v
3.6.1
Either way, it's more or less solved for me.
I can't reproduce in my Ubuntu Virtual Machine: it works perfectly there.
Some say to run
$ softwareupdate --install-rosetta
If the problem may be yarn, can you try to run the script directly?
$ ./scripts/postgres-import-anonymous-data.sh