-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Installation error: composer create-project aimeos/aimeos myshop #361
Comments
It seems you have a broken PHP installation or at least php-intl extension is missing and something is requiring "fxp/composer-asset-plugin" which isn't compatible to your composer 2.x (but that's not required by the Aimeos package). |
I'll try installing php-intl for my native PHP install, but I'm not sure how many devs use the built-in PHP for their work. Most devs I know use brew to manage PHP versions for projects. The PHP 8 failure error has to do with phpunit requiring php ^7.0, can that be resolved? |
The "fxp/composer-asset-plugin" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option. fxpio/composer-asset-plugin#334 This isn't getting fixed any time soon, Foxy is supposed to replace composer-asset-plugin now anyway. It seems like this is going to need more work than I can contribute right now. |
OK, we've fixed the problem in the composer.json. You can now install Aimeos using PHP 8 (version 2020.10.7) |
Environment
Describe the bug
myshop install instructions don't work on current Mac OS X. Tried PHP 7 and 8 (installed via brew).
PHP 7 output:
`davistv@Muska2 aimeos-demo % /usr/bin/php /usr/local/bin/composer create-project aimeos/aimeos myshop
PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /usr/lib/php/extensions/no-debug-non-zts-20180731/intl (dlopen(/usr/lib/php/extensions/no-debug-non-zts-20180731/intl, 0x0009): dlopen(): file not found: /usr/lib/php/extensions/no-debug-non-zts-20180731/intl), /usr/lib/php/extensions/no-debug-non-zts-20180731/intl.so (dlopen(/usr/lib/php/extensions/no-debug-non-zts-20180731/intl.so, 0x0009): dlopen(): file not found: /usr/lib/php/extensions/no-debug-non-zts-20180731/intl.so)) in Unknown on line 0
The "fxp/composer-asset-plugin" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.
The "fxp/composer-asset-plugin" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.
Creating a "aimeos/aimeos" project at "./myshop"
The "fxp/composer-asset-plugin" plugin (installed globally) was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.
Installing aimeos/aimeos (2020.10.6)
Created project in /Users/davistv/Sites/aimeos-demo/myshop
The "fxp/composer-asset-plugin" plugin (installed globally) was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.
Problem 1
- aimeos/aimeos-laravel[2020.10.1, ..., 2020.10.x-dev] require aimeos/aimeos-core 2020.10.* -> satisfiable by aimeos/aimeos-core[2020.10.1, ..., 2020.10.x-dev].
- aimeos/aimeos-core[2020.10.1, ..., 2020.10.x-dev] require ext-intl * -> it is missing from your system. Install or enable PHP's intl extension.
- Root composer.json requires aimeos/aimeos-laravel ~2020.10 -> satisfiable by aimeos/aimeos-laravel[2020.10.1, ..., 2020.10.x-dev].
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php.ini
You can also run
php --ini
inside terminal to see which files are used by PHP in CLI mode.`
Output with PHP8:
`davistv@Muska2 aimeos-demo % composer create-project aimeos/aimeos myshop
The "fxp/composer-asset-plugin" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.
The "fxp/composer-asset-plugin" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.
Creating a "aimeos/aimeos" project at "./myshop"
The "fxp/composer-asset-plugin" plugin (installed globally) was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.
Installing aimeos/aimeos (2018.10.3)
Created project in /Users/davistv/Sites/aimeos-demo/myshop
The "fxp/composer-asset-plugin" plugin (installed globally) was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.
Problem 1
- phpunit/phpunit[6.0.0, ..., 6.5.14] require php ^7.0 -> your php version (8.0.0) does not satisfy that requirement.
- Root composer.json requires phpunit/phpunit ~6.0 -> satisfiable by phpunit/phpunit[6.0.0, ..., 6.5.14].
`
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Install a working myshop demo.
The text was updated successfully, but these errors were encountered: