Closed mberneis closed 1 year ago
This is a known bug/incompatibility with Spatie's Ray package. As a temporary work around, you may remove the spatie/ray
package.
Just ran into this myself. Will likely hold off adding shift-cli until this is resolved.
Looking forward to using this!
Same problem, going to hold off as well.
I'll take a look at this today. It's something with the bundling either in the Shift CLI or Ray.
@mberneis, I'm not able to reproduce this error. I believe this happens if the Shift CLI encounters an error when it runs and is attempting to send it to Ray.
Can you let me know if this happens when you run a single, simple task like down-migration
.
Also if you are running the Ray app in the background or just the open source package?
@jasonmccreary - I am not running ray (although I have it in my composer but I have not started the ray app at the moment)
The error appears only with one task:
shift-cli run model-table
I have no explicit ray calls but something throws an error. However, my laravel log does not show any error when I run the shift command
I'm having the same experience with that single shift if that's helpful at all.
Thanks @mberneis, that does help.
I have pushed a new build (0.2.8) which I believe will solve this problem. Please run composer update
and let me know. Note: I have not rebuilt the cli-premium
package. I want to ensure this works first.
Yes, no more errors (the model-table task did not make any changes to my code, but probably none were needed) Thanks, JMac!
Confirmed that the new release is working over here as well!
Thanks!
Woohoo!
Thanks all. And thanks @freekmurze for granting my access to Ray so I could diagnose the issue. It was the bundling for Shift CLI, but the stack trace was nonetheless helpful.
Issue:
Get fatal error when running shift-cli
Command:
Output:
Before/After Snippets: