8000 after updating to latest version : A JavaScript error occurred in the main process · Issue #179 · tweakphp/tweakphp · GitHub
[go: up one dir, main page]

Skip to content

after updating to latest version : A JavaScript error occurred in the main process #179

@hdaklue

Description

@hdaklue

Describe the bug
after updating to the latest version I got this error on starting A JavaScript error occurred in the main process

Uncaught Exception: Error: dlopen(/Applications/TweakPHP.app/Contents/Resources/app.asar.unpacked/node_modules/better-sqlite3/build/Release/better_sqlite3.node, 0x0001): tried: '/Applications/TweakPHP.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/TweakPHP.app/Contents/Resources/app.asar.unpacked/node_modules/better-sqlite3/build/Release/better_sqlite3.node' (no such file), '/Applications/TweakPHP.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')) at process.func [as dlopen] (node:electron/js2c/node_init:2:2569) at Module._extensions..node (node:internal/modules/cjs/loader:1930:18) at Object.func [as .node] (node:electron/js2c/node_init:2:2796) 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:17950) 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)

Expected behavior
It should start normally

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Macos 13.7.8
  • App Version 0.11

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0