-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
After installation and a clean rebuild, upon running npm run dev, the app does not open on electron. The error specifically says incompatible architecture.
To Reproduce
Steps to reproduce the behavior:
- install depdencies using
npm install npm run devto start the app- The app does not start
Expected behavior
The app should load as a standalone app.
Screenshots
App threw an error during load
Error: dlopen(/Users/mushroomgenie/XXXXX/DataPup/node_modules/better-sqlite3/build/Release/better_sqlite3.node, 0x0001): tried: '/Users/mushroomgenie/XXXXX/DataPup/node_modules/better-sqlite3/build/Release/better_sqlite3.node' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/mushroomgenie/XXXXX/DataPup/node_modules/better-sqlite3/build/Release/better_sqlite3.node' (no such file), '/Users/mushroomgenie/XXXXXX/DataPup/node_modules/better-sqlite3/build/Release/better_sqlite3.node' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))
at process.func [as dlopen] (node:electron/js2c/node_init:2:2617)
at Module._extensions..node (node:internal/modules/cjs/loader:1930:18)
at Object.func [as .node] (node:electron/js2c/node_init:2:2617)
at Module.load (node:internal/modules/cjs/loader:1472:32)
at Module._load (node:internal/modules/cjs/loader:1289:12)
at c._load (node:electron/js2c/node_init:2:18013)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:242:24)
at Module.require (node:internal/modules/cjs/loader:1494:12)
at require (node:internal/modules/helpers:135:16)
Environment (please complete the following information):
- OS: macOS 15.6
- Data-Pup Version: 1.0.0
- Node Version: 22.12.0
Additional context
Add any other context about the problem here.
sahithvibudhi
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working