Skip to content

Scheduler emit a javascript error in production build #542

Open
NativePHP/electron
#207
@SRWieZ

Description

@SRWieZ

What were you trying to do?

Just running a production app

What happened?

Starting the scheduler seems to time out.
Image

How to reproduce the bug

Context (TBD):

  • I got this error after waking up my Mac from sleep, I think.
  • I had to close and reopen the app. otherwise, it will get back to me every minute, I believe.
  • I have a subminute scheduler (every ten seconds)

Production build here: https://github.com/SRWieZ/tailscale-notifier/releases

Package Versions

{
    "installed": [
        {
            "name": "nativephp/electron",
            "direct-dependency": true,
            "homepage": "https://github.com/nativephp/electron",
            "source": "https://github.com/NativePHP/electron/tree/main",
            "version": "dev-main e733d3e",
            "description": "Electron wrapper for the NativePHP framework.",
            "abandoned": false
        },
        {
            "name": "nativephp/laravel",
            "direct-dependency": false,
            "homepage": "https://github.com/nativephp/laravel",
            "source": "https://github.com/NativePHP/laravel/tree/1.0.0-beta.4",
            "version": "1.0.0-beta.4",
            "description": "Laravel wrapper for the NativePHP framework.",
            "abandoned": false
        },
        {
            "name": "nativephp/php-bin",
            "direct-dependency": false,
            "homepage": "https://nativephp.com",
            "source": "https://github.com/NativePHP/php-bin/tree/1.0.0",
            "version": "1.0.0",
            "description": "PHP binaries used by the NativePHP framework",
            "abandoned": false
        }
    ]
}

PHP Version

8.3

Laravel Version

11

Node Version

22

Which operating systems have you seen this occur on?

No response

OS version

macOS 15.4 (24E248)

Notes

I'll do additional tests, before coming up with a fix.
If anyone has the same issue, please report to me here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions