Comments (8)
For those who read this thread, I just found the other "fix" - there is a community build for the sqlite4java for M1. Download it from https://search.maven.org/artifact/io.github.ganadist.sqlite4java/libsqlite4java-osx-arm64/1.0.392/dylib and replace ibsqlite4java-osx.dylib. (use it as your own risk)
Slightly details instruction
https://www.josephso.dev/using-jest-dynamodb-in-apple-silicon-platform-workaround/#community-build
from jest-dynamodb.
I fixed it by installing the latest Java for x86_64 architecture here: https://www.azul.com/downloads/?version=java-17-lts&os=macos&architecture=x86-64-bit&package=jre
from jest-dynamodb.
@vladgolubev Thanks, is it possible to keep both java version, or I have to replace the java by x86_64?
from jest-dynamodb.
Maybe it's possible, with tools like https://sdkman.io/ but I didn't try. As for me, I was happy with only 1 java version.
from jest-dynamodb.
@vladgolubev Thanks a lot, i will have a look, as I want to only use the x86_64 in the project related to jest-dynamodb only and using the native one as much as possible
from jest-dynamodb.
@vladgolubev, Thanks, tried SDKMan, but it is not suitable. It will install the Silicon version of Java SDK if it is available (and I cannot find the one which is not available now)
I have tried with JEnv, it fixed the issue nearly. It is better for me to start a new thread to ask the question
(jenv shell or global are working well, but not local)
from jest-dynamodb.
@joseph-so thanks for the post! I linked it in the readme https://github.com/shelfio/jest-dynamodb/blob/master/readme.md#troubleshooting
from jest-dynamodb.
For future readers, jest-dynamodb
works fine on my Apple Silicon M1 machine in Oct 2022.
from jest-dynamodb.
Related Issues (20)
- Cause the DB to paginate HOT 2
- Dependency Dashboard
- Cannot create preexisting table when running tests for multiple jobs in Jenkins HOT 2
- Error: A JNI error has occurred, please check your installation and try again HOT 2
- Setup hangs when using custom endpoint. HOT 4
- How to use .cjs extension for config when using "module" type in package.json HOT 2
- Breakage updating to 3.3.0 HOT 5
- Validation Error after updating to v3.3.1 HOT 2
- Tests fail when ran on CI/CD server, but work locally HOT 1
- Issue in globalSetup after upgrading to Node 18 HOT 2
- Running Jest now hangs on "Determining test suites to run..." HOT 18
- DynamoDB server doesn't start when running jest HOT 1
- Test suite failed to run caused by TypeError HOT 1
- Error: Invalid or corrupt jarfile DynamoDBLocal.jar HOT 4
- Test errors out at first use of typescript syntax
- Prototype Pollution Affecting fast-xml-parser package, versions <4.1.2 HOT 1
- UnrecognizedClientException HOT 7
- How can I use `jest-dynamodb` in a `nx` managed monorepo? HOT 2
- Warning "Jest did not exit one second after the test run has completed" out on Node v20 HOT 1
- Suggestion: Updating dynamo package
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jest-dynamodb.