-
-
Notifications
You must be signed in to change notification settings - Fork 811
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
Create Project from single composer.json throws errors #5161
Comments
Why were |
Because the docs says I shall create them and then run the command. |
@PhillippOhlandt I might be missing something here, but that sounds to me more like an "either/or" rather than a "before and then" situation. |
Removed blocker per dev-meeting |
It's still crappy and can be done better and what is documented break… but very tiny corner case of people that should be able to deal with it. I've tagged 3.1 on this and that is also flexible. |
@PhillippOhlandt Still an issue or not? |
@SahAssar yep, but it's the wrong way to setup Bolt anyway. It still complains about the missing folders. |
Yeah if you are creating a project you shouldn't need to have to create a composer.json and .bolt.yml first. The create command creates those files. |
But it fails when the folders are missing instead of creating it. That's why you usually use bolt/composer-install because it has the folders. |
Oh are you calling |
Yeah, it will start the config process but it fails when a folder is missing. Would be better when the folder will be created then. |
Nope. Just should be avoided entirely. |
Agreed. Also those docs were all heavily, if not completely, rewritten. So calling this closed. |
To setup a new project I started here:
https://docs.bolt.cm/master/installation/composer/creating-a-new-project#initialise-a-project
Created
.bolt.yml
andcomposer.json
and rancomposer create-project
.Then I got this:
![](https://camo.githubusercontent.com/5902a01f771e16c3c9e8b64c274e208c486ee597872654030701cc49d0cf0aa3/68747470733a2f2f696e66696e69742e696f2f5f2f5835656a474a562e6a7067)
After I created each folder manually I got this after I tried again:
![](https://camo.githubusercontent.com/e50d90c9f138d25ddbc11cbb9fe074760fd5f01e458d46241ba9e43f583fd254/68747470733a2f2f696e66696e69742e696f2f5f2f645976547170532e6a7067)
Details
The text was updated successfully, but these errors were encountered: