-
Notifications
You must be signed in to change notification settings - Fork 83
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
Windows 11 / Herd / Box Requirements Check Fails #350
Comments
Hey @delta1186 have you tried installing the specific version you had before? Try this: composer global require "tightenco/takeout:2.6" This is just to test where the issue started happening. I'll take a look at the platform requirements stuff. That might be related to this change: #308 |
@delta1186 that could be the issue, I guess. I'll try to reproduce that later this week. We're experimenting with a Docker-based Takeout experience (see #326), would you like to give it a shot? If so, you can remove the Takeout composer package and replace it with this alias (on your alias takeout='docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -it tighten/takeout:latest' Then you can use the alias just like you'd normally use Takeout. If you face any issues, just remove the alias. Let me know if you give it a try. |
@tonysm I just tried the docker alias. I am using Windows 11 terminal app so my alias entry look like the following.
When I ran So I just tried to the run the raw command. |
You mean the same error as the original error? Same I'll try to reproduce it locally installing |
Background
It never fails when you want to do something easy it blows up in your face. This morning I was attempting to install the statamic cli tool
composer global require statamic/cli
and of course I got some dependency errors. So while troubleshooting I ended up breakingtakeout
. I removed all of my global composer packages except forlaravel/installer
which I ended up updating to 5.9. I did not have much installed.So then after having just
laravel/installer 5.9
installed I still could not install the statamic cli tool. I finally got it installed usingcomposer global require statamic/cli --with-all-dependencies
So now I started the process of restoring my other packages and the only one I was actually still using was takeout. Initially I just tried running the default composer command
composer global require tightenco/takeout
But then I got the "pcntl" and "posix" dependencies errors because I am on Windows, 11 to be exact. Many moons ago these were ignored in the package's composer.json when I PR'd the navigation upgrades for Windows, but that has since been removed. So in order to get the package installed I just ran.
composer global require tightenco/takeout --ignore-platform-reqs
This got takeout installed and my global composer.json now has the following entries:
Issue
Now on to the issue I am currently facing. When I try and run
takeout start
I get the following:To be honest I have never run into this. I am not sure where the Box Requirement Checker lives. I am guessing that is a composer thing, but if it were one would think,
composer global require tightenco/takeout --ignore-platform-reqs
, would have prevented this, so I am really not sure at this point. I am going to continue my DYOR, but I wanted to go ahead and post something here to get that process started.I will say that I also tried adding the following entries to my global composer.json, but takeout still gave the same error.
Thanks in advance!
The text was updated successfully, but these errors were encountered: