Skip to content

Error: composer.json file does not exist #4

@devcflynn

Description

@devcflynn

When following the setup instructions in the readme I get the following error when running:

foreman build /path/to/dir template.json

[Foreman]: Installing fresh Laravel app
[Foreman]: Done, Laravel installed at: /home/chris/Dropbox/Projects/Playground/foreman/
[Foreman]: Reading template from template.json
[Copy]: from /home/chris/Dropbox/Projects/Playground/foreman/ to /home/chris/Dropbox/Projects/Playground/foreman/
[Foreman]: Reading composer.json from /home/chris/Dropbox/Projects/Playground/foreman/composer.json

Error:
[Illuminate\Filesystem\FileNotFoundException]
File does not exist at path /home/chris/Dropbox/Projects/Playground/foreman
/composer.json

Do I need to also have an existing composer.json file when creating this? I thought the template.json file was the only thing needed to scaffold a new app as per the README.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions