laravel / octane

Supercharge your Laravel application's performance.
https://laravel.com/docs/octane
MIT License
3.73k stars 289 forks source link

Undefined array key "assets" #863

Closed phpmac closed 4 months ago

phpmac commented 4 months ago

Octane Version

latest

Laravel Version

11

PHP Version

8.3

What server type are you using?

FrankenPHP

Server Version

latest

Database Driver & Version

No response

Description

php artisan octane:install --server=frankenphp -vvv

 FrankenPHP's Octane integration is in beta and should be used with caution in production. Do you wish to continue? (yes/no) [yes]:
 > 

 Unable to locate FrankenPHP binary. Should Octane download the binary for your operating system? (yes/no) [yes]:
 > 

   ERROR  Undefined array key "assets"

Steps To Reproduce

When I quickly confirm everything and cancel, and then run again it always prompts these

sy-records commented 4 months ago

Please check your network to the GitHub API. https://api.github.com/repos/dunglas/frankenphp/releases/latest

phpmac commented 4 months ago

Please check your network to the GitHub API. https://api.github.com/repos/dunglas/frankenphp/releases/latest

是的,就是这个问题

{
"message": "API rate limit exceeded for 103.116.72.46. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)",
"documentation_url": "https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"
}
phpmac commented 4 months ago

The solution is to switch ip

driesvints commented 4 months ago

Thanks. @sy-records sent in a PR so let's see how it goes. Thanks for the PR @sy-records!