Open RBFraphael opened 2 years ago
Nobody?
Hi @RBFraphael ,
It seems the latest version of Bedrock requires a higher major version of composer/installers
that the latest version of the theme. Compatibility with composer/installers:^2
has to be tested and updated if necessary but in the meantime you'll have to look into either downgrading it (and making sure it still works with Bedrock) or "lying" about which version is required in your composer.json file.
Hi @atanas-dev !
Thank you for your reply. I've tested creating a new WP Emerge theme directly withint web/app/themes just like a project without Bedrock (using composer create-project htmlburger/wpemerge-theme
in themes directory instead composer require
on root).
Now, I think I've found another version-related error. When using latest Node LTS version (v16.16.0), I've got a lot of warnings and fatal errors that results on theme not installed. But, when using the LTS 14 (latest is v14.20.0), the theme is installed successfully, but a lot of warnings persists. I think developers need to check for package manager updates (NodeJS and Composer), because updated versions aren't working as expected.
Version
Expected behavior
WP Emerge Theme to be installed and created at
/web/app/themes
Actual behavior
composer require htmlburger/wpemerge-theme
Throws an requirement error as follows:Steps to reproduce (in case of a bug)
composer create-project roots/bedrock
cd
to root folder of your bedrock installcomposer require htmlburger/wpemerge-theme
Comments
Just followed official documentation found at https://docs.wpemerge.com/#/starter/theme/quickstart (the Quick start on Bedrock section).