api.serlo.org icon indicating copy to clipboard operation
api.serlo.org copied to clipboard

Running `yarn postgres:import-anonymous-data` didn't work on my Mac M1 machine

Open hejtful opened this issue 11 months ago • 3 comments

Error:

Internal Error: spawn Unknown system error -8

hejtful avatar Feb 13 '25 14:02 hejtful

@hugotiburtino I have the same problem on an intel macbook

elbotho avatar Feb 13 '25 14:02 elbotho

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.

elbotho avatar Feb 13 '25 15:02 elbotho

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

hugotiburtino avatar Feb 13 '25 17:02 hugotiburtino