Skip to content

When installing bolt through composer the folder public/theme/base-2021 is missing #98

@salacr

Description

@salacr

When instaling bolt through composer composer create-project bolt/project myprojectname the mentioned folder public/theme/base-2021 isn't created hence all post-install cmd fails:

sh: 1: exec: php bin/console cache:clear --no-warmup --ansi: not found sh: 1: exec: php bin/console assets:install --symlink --relative public --ansi: not found sh: 1: exec: php bin/console bolt:copy-assets --ansi: not found sh: 1: exec: php bin/console extensions:configure --with-config --ansi: not found sh: 1: exec: php bin/console bolt:info --tablesInitialised: not found

Creating the folder manually and running the tasks solve the problem for me

Details

Question Answer
Relevant Bolt Version 5.0.5
Install type composer (Composer 2.0.9 2021-01-27 16:09:27)
PHP version PHP 8.0.8 (cli) (built: Sep 11 2021 04:17:39) ( NTS )
OS Kubuntu 21.10

Adding full phpinfo here so you can see full configuration

phpinfo.txt

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