mezzio / mezzio-skeleton

Laminas mezzio skeleton. Begin developing PSR-15 middleware applications in seconds!
https://docs.mezzio.dev/mezzio/
BSD 3-Clause "New" or "Revised" License
120 stars 31 forks source link

Error after running clear-config-cache.php #161

Open galvao opened 3 days ago

galvao commented 3 days ago

Bug Report

Q A
Version(s) 3.15.0

Summary

Clean installation results in an error after running bin/clear-config-cache.php

Current behavior

Script php bin/clear-config-cache.php handling the clear-config-cache event returned with error code 255
Script @clear-config-cache was called via post-update-cmd

How to reproduce

Just do a clean project creation: composer create-project mezzio/mezzio-skeleton dir_name Using composer's --no-cache flag yields the same error.

Expected behavior

Finish the project creation without errors.

matthewpallotta commented 4 hours ago

Removing line 19 \Mezzio\Helper\ConfigProvider::class from config\config.php should fix the issue. Conflicts with line 25 ConfigProvider::class

This fixed my issue with the current skeleton.