Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Bug]: A JavaScript error occurred in the main process #131

@RoccoHoward

Description

@RoccoHoward

What happened?

After running php artisan native:serve, the dev server runs and an error error dialog appears.

Uncaught Exception:
Error: open EISDIR
at new Socket (node:net:413:13)
at createWritableStdioStream (node:internal/bootstrap/switches/is_main_thread:78:18)
at process.getStderr (as stderr] (node:internal/bootstrap/switches/is_main_thread:170:12).
at console.get (node:internal/console/constructor:220:44)
at console.value (node:internal/console/constructor:347:50)
at console.warn (node:internal/console/constructor:382:61)
at loadApplicationPackage
(vendor\nativephp\electron\resources\s\node_modules...:17)
at Object.<anonymous>
(vendor\nativephp\electron\resources\js\node_modules\...9)
 at Module._compile (node:internal/modules/cjs/loader:1269:14)
 at Module, extensions.js (node:internal/modules/cjs/loader: 1324:10)

How to reproduce the bug

php artisan native:serve

Package Version

0.3.2

PHP Version

8.2.8

Laravel Version

10.16.1

Which operating systems does with happen with?

Windows, Linux

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwindows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions