Coder Social home page Coder Social logo

Comments (8)

joseph-so avatar joseph-so commented on June 8, 2024 2

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.

vladholubiev avatar vladholubiev commented on June 8, 2024

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.

joseph-so avatar joseph-so commented on June 8, 2024

@vladgolubev Thanks, is it possible to keep both java version, or I have to replace the java by x86_64?

from jest-dynamodb.

vladholubiev avatar vladholubiev commented on June 8, 2024

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.

joseph-so avatar joseph-so commented on June 8, 2024

@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.

joseph-so avatar joseph-so commented on June 8, 2024

@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.

vladholubiev avatar vladholubiev commented on June 8, 2024

@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.

tim-phillips avatar tim-phillips commented on June 8, 2024

For future readers, jest-dynamodb works fine on my Apple Silicon M1 machine in Oct 2022.

from jest-dynamodb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.