Open nick-verida opened 1 year ago
I've seen this elsewhere too, so have documented this here: https://github.com/verida/infrastructure/blob/develop/Linux_Build_on_MacOS.md
You get this if you are using arm64
architecture (which you want!) in the terminal. You can see by running the arch
command.
Currently deploying this app from MacOS doen't work, because we get this when deployed:
This is because
leveldown
is build on Mac but deployed on Linux.Adding this to
serverless.xml
should work but has stopped for some reason:Currently I'm deploy via a docker build. This was non-trivial, but a few notes:
On the Mac,
rm -rf node_modules
to make sure we get rid of Mac versions