Code Monkey home page Code Monkey logo

Comments (5)

rathboma avatar rathboma commented on June 26, 2024

Did something change after 0.3.4?

from libsql.

penberg avatar penberg commented on June 26, 2024

@rathboma The package does exist and is up-to-date: https://www.npmjs.com/package/@libsql/darwin-x64?activeTab=versions There's nothing specific about the Darwin/x64 build either... 🤔

from libsql.

rathboma avatar rathboma commented on June 26, 2024

Hey, I did some tests and it might be an electron-builder quirk, not sure. This is the deal:

  • We build Mac packages on a ARM64 M1 machine, we build for both architectures simultaneously.

  • Builds made in this way are not working on x86_64 machines with libsql.

  • SQLite, Oracle, and other libs with native dependencies do package themselves just fine with this set-up. So there's potentially something a little different about how y'all are handling native deps for Mac.

  • If I build directly on a x86_64 mac, the build works fine.

Could it be that darwin-x64 is only installed when running on an intel mac, vs any mac?

from libsql.

HameArm avatar HameArm commented on June 26, 2024

Did you build the previous version differently? That was working fine..

from libsql.

rathboma avatar rathboma commented on June 26, 2024

@HameArm the previous version didn't include LibSQL. This is a new problem exclusively on LibSQL.

@penberg Can you point me to where @libsql/darwin-x64 gets used? Maybe I need to explicitly include it or something?

To be clear -- this is an issue for any electron developer looking to create universal mac builds, or create an x64 build on an M1 chip (which is now the recommended way)

from libsql.

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.