ferdium / ferdium-app

All your services in one place, built by the community
https://ferdium.org
Apache License 2.0
3k stars 179 forks source link

MacOS/Electron exited with signal SIGABRT #1892

Open glj1102 opened 2 months ago

glj1102 commented 2 months ago

Avoid duplicates

Ferdium Version

6.7.7-nightly.7

What Operating System are you using?

macOS

Operating System Version

macOS Sonoma 14.6.1

What arch are you using?

arm64 (including Apple Silicon)

Last Known Working Ferdium version

No response

Expected Behavior

run ok

Actual Behavior

[1] [MobX] Since strict-mode is enabled, changing (observed) observable values without using an action is not allowed. Tried to modify: Settings@13.store [1] [MobX] Since strict-mode is enabled, changing (observed) observable values without using an action is not allowed. Tried to modify: Settings@13.store [1] /Users/gonglinjie/workspace/gonglj-code/ferdium-app/node_modules/.pnpm/electron@32.1.0/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron exited with signal SIGABRT [1]  ELIFECYCLE  Command failed with exit code 1. [1] wait-on http-get://127.0.0.1:8080 && pnpm start exited with code 1

Steps to reproduce

  1. ./scripts/build-unix.sh
  2. pnpm debug

Debug link

No response

Screenshots

image

Additional information

When I set sandbox: true, The error message is as follows.

image
SpecialAro commented 2 months ago

Hello @glj1102

You shouldn't be running the command node ./scripts/build-unix.sh but just ./scripts/build-unix.sh in a shell terminal.

glj1102 commented 2 months ago

Hello @glj1102

You shouldn't be running the command node ./scripts/build-unix.sh but just ./scripts/build-unix.sh in a shell terminal.

I know,It is written wrongly.

  1. ./scripts/build-unix.sh
  2. pnpm debug
glj1102 commented 2 months ago

The location of the failure has been pinpointed. It is in a section of code within the SettingsStore file.

@computed get stats() {
    return (
      localStorage.getItem('stats') || {
        activeService: '',
      }
    );
  }

when return null,run ok,but there will be many error messages in the console.

image

when return object or {} exited

skyceo121 commented 2 months ago

你好 截屏2024-09-15 22 03 09 我的电脑也是mac。总是运行不起来 会弹出一个窗口 !