spiral / app

Spiral Framework Skeleton HTTP Application: Queue, Console, Cycle ORM
https://spiral.dev/
MIT License
191 stars 20 forks source link

Could not install spiral framework on windows 10 #51

Closed olaseyo closed 8 months ago

olaseyo commented 2 years ago

Description

I got the below error while trying to install on windows 10 Warning: ZipArchive::getStream(): Invalid or uninitialized Zip object in C:\Users\HP\Documents\Fro Mac\Project\Docspera\jolter_master\app\vendor\spiral\framework\bin\spiral on line 165

How To Reproduce

run the command composer create-project spiral/app

Additional Info

Q A
Framework Version ^2.8
PHP version 7.4
Operating system Windows (10)
butschster commented 2 years ago

I think, there is a problem with command spiral get-binary https://github.com/spiral/app/blob/master/composer.json#L39.

If you want to use RoadRunner 2.x try composer create-project spiral/app:2.x-dev

butschster commented 2 years ago

Thank you for contributing!

olaseyo commented 2 years ago

Thanks for that. I was able to download it now but still could not serve Got the error below. handle_serve_command: Init error: endure_initialize: endure_internal_init: Function call error: endure_call_init_fn: config_plugin_init: incompatible versions passed: from: 2.6.0, to: 2.8.0

butschster commented 2 years ago

Try to add version: '2.7' at the top of .rr.yaml

olaseyo commented 2 years ago

Hi @butschster,

Thanks for your inputs so far........ Running this command ./rr.exe serve rr.yaml Produce this output : "[INFO] RoadRunner server started; version: 2.8.1, buildtime: 2022-02-21T08:02:19+0000"

After that i ran this command grpcui -plaintext -proto event.proto localhost:8150 But got an error i have not been able to fix.

Output: "Failed to dial target host "localhost:8150": dial tcp [::1]:8150: connectex: No connection could be made because the target machine actively refused it."

butschster commented 8 months ago

https://github.com/spiral/app/pull/140