Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I'm having trouble getting fotingo to work on the new M1 Machine #865

Open
tenthyoung opened this issue Mar 9, 2022 · 0 comments
Open

Comments

@tenthyoung
Copy link

Expected result:
When I run fotingo review, I expect it to work properly

Actual result:

➜  schumacher git:(f/schu-10551_add_translated_schedule_summary_from_backend_in_message_templates_view) ✗ fotingo review          
/usr/local/lib/node_modules/fotingo/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js:53
        throw ex;
        ^

Error: dlopen(/usr/local/lib/node_modules/fotingo/node_modules/better-sqlite3/build/Release/better_sqlite3.node, 0x0001): tried: '/usr/local/lib/node_modules/fotingo/node_modules/better-sqlite3/build/Release/better_sqlite3.node' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/local/lib/better_sqlite3.node' (no such file), '/usr/lib/better_sqlite3.node' (no such file)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1144:18)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:101:18)
    at bindings (/usr/local/lib/node_modules/fotingo/node_modules/bindings/bindings.js:112:48)
    at new Database (/usr/local/lib/node_modules/fotingo/node_modules/better-sqlite3/lib/database.js:48:64)
    at new KeyvSqlite (/usr/local/lib/node_modules/fotingo/node_modules/@keyv/sqlite/src/index.js:29:14)
    at loadStore (/usr/local/lib/node_modules/fotingo/node_modules/keyv/src/index.js:24:10)
    at new Keyv (/usr/local/lib/node_modules/fotingo/node_modules/keyv/src/index.js:45:22)
Emitted 'error' event on Keyv instance at:
    at KeyvSqlite.<anonymous> (/usr/local/lib/node_modules/fotingo/node_modules/keyv/src/index.js:49:46)
    at KeyvSqlite.emit (events.js:400:28)
    at Immediate.<anonymous> (/usr/local/lib/node_modules/fotingo/node_modules/@keyv/sqlite/src/index.js:32:28)
    at processImmediate (internal/timers.js:464:21) {
  code: 'ERR_DLOPEN_FAILED'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant