Skip to content
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

[Bug]: Failed to install on Laravel 11 #256

Closed
dbelyaeff opened this issue Mar 16, 2024 · 5 comments
Closed

[Bug]: Failed to install on Laravel 11 #256

dbelyaeff opened this issue Mar 16, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@dbelyaeff
Copy link

What happened?

Failed to install NativePHP on Laravel 11.

Your requirements could not be resolved to an installable set of packages.

 Problem 1
    
nativephp/electron[0.1.0, ..., 0.4.0] require illuminate/contracts ^10.0 -> found illuminate/contracts[v10.0.0, ..., v10.48.3] but these were not loaded, likely because it conflicts with another require.
Root composer.json requires nativephp/electron * -> satisfiable by nativephp/electron[0.1.0, ..., 0.4.0].

You can also try re-running composer require with an explicit version constraint, e.g. "composer require nativephp/electron:*" to figure out if any version is installable, or "composer require nativephp/electron:^2.1" if you know which you need.

How to reproduce the bug

  1. Fresh Laravel 11 installation
  2. composer require nativephp/electron
  3. php artisan native:install

Package Version

0.4.0

PHP Version

8.2.16

Laravel Version

11

Node Version

18.15

Which operating systems does with happen with?

macOS

Notes

No response

@dbelyaeff dbelyaeff added the bug Something isn't working label Mar 16, 2024
@emeryntumba
Copy link

Is there any update about this? I encounter the same problem on Windows

@dbelyaeff
Copy link
Author

Is NativePHP alive? Any roadmap?

@meliani
Copy link
Contributor

meliani commented Mar 26, 2024

Hello you can check those PRs, i just fixed the issue :
#262
NativePHP/electron#89

@simonhamp
Copy link
Member

@meliani Those have been merged and released

@simonhamp
Copy link
Member

simonhamp commented Apr 2, 2024

There is a problem building apps using Laravel 11, but closing this issue as it can now be installed in Laravel 11

#264

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

No branches or pull requests

4 participants