8000 [Bug][laravel]: ERROR Command "native:install" is not defined. Did you mean one of these? · Issue #17 · NativePHP/laravel · GitHub
[go: up one dir, main page]

Skip to content

[Bug][laravel]: ERROR Command "native:install" is not defined. Did you mean one of these? #17

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

Closed
mina20088 opened this issue Jul 21, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@mina20088
Copy link
mina20088 commented Jul 21, 2023

What happened?

i firstly installed the wrapper for Laravel from composer using this command

  composer require nativephp/laravel

then i uses this command to publish the native app as the doc say

php artisan native:install

i got error above and includes the screen shoot
Screenshot from 2023-07-21 03-07-18

How to reproduce the bug

when i used the command

php artisan native:install

i saw the below error
Screenshot from 2023-07-21 03-07-18

Package Version

0.1.0

PHP Version

8.2

Laravel Version

10.0

Which operating systems does with happen with?

Linux

Notes

same thing happens when using the command

php artisan native:serve

Screenshot from 2023-07-21 03-15-30

@mina20088 mina20088 added the bug Something isn't working label Jul 21, 2023
@axyr
Copy link
axyr commented Jul 21, 2023

The documentation is assuming you have an existing laravel app:

laravel new my-app

cd my-app

composer require nativephp/laravel

php artisan native:install

@git-e-001
Copy link
git-e-001 commented Jul 21, 2023

I wait for long time it's not showing anything
image

@arbazargani
Copy link

i had the same problem, canceling batch job and composer dumpautoload, solved this stucking and then i faced new issue:
node version & etc. updated node version to 20 & still some errors remains & can't run app yet, by the way, maybe dumpautoload helps you pass this step to new errors like me :)

@mina20088
Copy link
Author
mina20088 commented Jul 21, 2023

The documentation is assuming you have an existing laravel app:

laravel new my-app

cd my-app

composer require nativephp/laravel

php artisan native:install

I made a new project o laravel and that's what happens and same issue it's not working

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

5 participants
0