-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
ERROR Missing .dependencies file in user/ folder #1027
Comments
it's only there if you clone from github. it's stripped out of the grav download package because it's only intended to be used by developers: https://github.com/getgrav/grav/blob/develop/.dependencies |
I have more plugins. How to create this file for my situation? Found something about But nothing about how to build this file or use... |
Just check how skeletons are implementing it, for example https://github.com/getgrav/grav-skeleton-agency-site/blob/develop/.dependencies |
@flaviocopes I think grav docs needs tutorial how to create this file from scratch etc. |
What's your issue with it? You need to change it to list your dependencies. But this is needed to build skeletons. I don't know from what you are writing above if this is what you need. What do you need to do? |
I just installed grav from different approaches (zip base + admin, skeleton with theme, composer) and for the exception of the base + admin install no installation was able to download admin panel because of dependencies. So I think here lies the unintuitive part about .dependencies, it's just not there and blocks the try-out phase by just not working as you would expect. Edit: By just creating the file it works. |
.dependencies is primarily use by skeleton packages to include REQUIRED plugins and themes. Core grav skeleton don't include the admin on this file because it's not required to run and not all people want it You can install admin anywhere by just typing |
you are right. I just tested this again with a clone from github and it works. |
@rogerpfaff what can we do to avoid confusion in the first place, in your opinion? Adding a more verbose error message explaining that Grav is already installed, instead of complaining that .dependencies is not found maybe makes the process smoother |
@flaviocopes the only thing I can right now imagine is that I might have tried multiple times to I have tested it now with the zip from the website, the clean blog skeleton, a composer install and a git clone. May be this is that one thing you need to do wrong in the beginning? Or it might have been a wrong tutorial somewhere on the web. For my part this could be closed. |
Ok, I'll try to make sure this does not confuse other people as well. Thanks |
…n/gpm install`, and also when running on a non-skeleton site #1027 ``` $ bin/grav install HINT Are you trying to install Grav? Grav is already installed. You need to run this command only if you download a skeleton from GitHub directly. $ bin/grav install admin HINT Are you trying to install a plugin or a theme? Make sure you use bin/gpm install <something>, not bin/grav install. This command is only used to install Grav skeletons. ```
This should work
|
Hello!
Got this error after
bin/grav install
:Can't see any
.dependencies
file inuser
or root folder.Tried to check grav+admin zip from offsite. The same. No
.dependencies
file.What it wants from me?
Env:
Windows 7 x64 (hidden files enabled, also checked with Total Commander)
Grav 1.1.3
Git Bash console
The text was updated successfully, but these errors were encountered: