DBOMproject / DBOMproject/database-agent
Database Agent Fails to Start on ARM64
- Dominant language
- JavaScript
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
**Your Environment**
MacOS
- Versions of your services : 2.0.0-alpha
- Operating System :
**Describe the current behavior**
Database agent fails to start
**Describe the expected behavior**
Database agent should start
**Standalone steps to reproduce the issue**
- Try running the arm64 docker image on an arm64 device
**Other info / logs:**
```
> database-agent@0.0.0 migrate /usr/src/app
> npx prisma generate && npx prisma db push
Prisma schema loaded from prisma/schema.prisma
Error: Unable to establish a connection to query-engine-node-api library. It seems that the current architecture arm64 is not supported, or that libc is missing from the sy
stem.
Details: Unable to require( ` /usr/src/app/node modules/prisma/libquery engine-linux-arm64-openssl-3.0.x.so.node`
Error loading shared library ld-linux-aarch64.so.1: No such file or directory (needed by /usr/src/app/node modules/prisma/libquery engine-linux-arm64-openss1-3.0.x.so.node
[Context: getDmmf]
Prisma CLI Version : 4.8.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! database-agent@0.0.0 migrate: npx prisma generate && npx prisma db push
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the database-agent@0.0.0 migrate script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!
root/.npm/_ logs/2023-09-07T18 43 10 _444%-debug.log
```

Contributor guide
Assessment
This issue has not been assessed yet.