Skip to content

[Bug]: Shared db between Intel and ARM #605

Description

@subfighter3

Describe the bug

While migrating db from v3 was successful on my Taohe M4, on my 2018 Sequoia I7 I got the following error when selected the same Dropbox folder after clicking on Open Storage:

Error invoking remote method 'db:relaod': Error: dlopen(/Applications/massCode.app/Contents/Resources/app.asar.unpacked/node_modules/better-sqlite3/build/Release/better_sqlite3.node, 0x0001): tried: '/Applications/massCode.app/Contents/Resources/app.asar.unpacked/node_modules/better-sqlite3/build/Release/better_sqlite3.node' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64h' or 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Applications/massCode.app/Contents/Resources/app.asar.unpacked/node_modules/better-sqlite3/build/Release/better_sqlite3.node' (no such file), '/Applications/massCode.app/Contents/Resources/app.asar.unpacked/node_modules/better-sqlite3/build/Release/better_sqlite3.node' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64h' or 'x86_64'))

To reproduce

  1. Go to settings
  2. Click on Open Storage
  3. Select a db folder stored in Dropbox
  4. See error

Version

4.0.4

OS

Sequoia 15.7.1

Validations

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions