I am trying to work with gctools but am getting an error with the initial setup of it. I followed the read me to clone the git repository run yarn to get the necessary dependences. When doing so it gave several warnings but did not appear to give any errors. I then tried to run gctools to test everything was set up right as it should have given a list of the commands that could be run with it, but it said gctools was an unknown command and not an internal, external, batch file, or a couple other things. Does anyone know if there is a step I missed that is not in the readme doc or any other help.
Image of warnings from yarn and gctools error.
Did you run yarn global add
after running yarn
?
You’re missing the add
part of yarn global add
I’m also having some issues. I am in the Gctools directory, and have added the yarn dependencies and run yarn global add
but it’s not recognizing the command.
Any ideas? Thanks.
You need to have yarn in front of the gctools when you run it.
Thanks. I was hoping it was something simple like that, but I’m still getting an error that gctools can’t be found.
Yarn sees that gctools is there, but won’t run it.
It’s listed as a script in package.json, so I’m not sure why it can’t be found.
Did you run yarn
or yarn install
in that directory?
Yes. I tried again and it said yarn was already up-to-date.
In that case, you can directly run the command with node ./bin/cli.js
Thanks Vikas! That worked to getting things running. However, when I try to split one of my backup zips, I get an error about it containing symlinks. I’m researching that now.