Skip to content

Got error on the first native:run #48

@iamphonghg

Description

@iamphonghg

What were you trying to do?

really exciting to try nativephp for the first time.
I installed a brand new laravel 12 project. Then follow doc, run: composer require nativephp/desktop, then php artisan native:install, then confirm start dev after that, but got the error, I rerun the command native:run but the same error:
A JavaScript error occurred in the main process

Uncaught Exception:
Error: App version is not a valid semver version: "v2"
at newError

What happened?

error on first start. Really love your work. Hope my report can help you improve nativephp a bit.

How to reproduce the bug

I'm using window 10, php 8.4, and node 22.18

Debug Output

you can see this sreenshot
https://prnt.sc/whz1WQ_DfMO5

Which operating systems have you seen this occur on?

Windows

Notes

No response

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