Skip to content

Scheduler emit a javascript error in production build #542

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

Open
SRWieZ opened this issue Apr 5, 2025 · 3 comments · Fixed by NativePHP/electron#207
Open

Scheduler emit a javascript error in production build #542

SRWieZ opened this issue Apr 5, 2025 · 3 comments · Fixed by NativePHP/electron#207
Labels
bug Something isn't working

Comments

@SRWieZ
Copy link
Member

SRWieZ commented Apr 5, 2025

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.

@SRWieZ SRWieZ added the bug Something isn't working label Apr 5, 2025
@SRWieZ
Copy link
Member Author

SRWieZ commented Apr 6, 2025

I confirm having the alert box every minutes
and I confirm having the alert box popping up every minute until I close the app.

Nothing in the logs.

@SRWieZ
Copy link
Member Author

SRWieZ commented Apr 8, 2025

Unfortunately I still got the error.

This error arises when the app loses connections to system resources, resulting in invalid file descriptors.

I'll continue my investigation.

@SRWieZ SRWieZ reopened this Apr 8, 2025
@SRWieZ
Copy link
Member Author

SRWieZ commented Apr 23, 2025

Got the same with Relay

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant