Error creating a project extension
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Error creating a project extension
Hello Aimeos,
aimeos/ai-laravel v.2023.10.4 Laravel v.10.43.0 PHP v.8.1.27, MacOS 14.2
I am at the very beginning of my journey. I want to make an extension for my project.
I did it according to the documentation:
1. Using the Aimeos extension builder, I prepared an extension for my project called shop.
2. I received the shop.zip archive.
3. Created a folder /packages/shop (DocumentRoot of my site: /public). Unzipped shop.zip into the shop folder.
4. In composer.json added:
5. Executed the command: composer req aimeos-extensions/shop
6. I got an error: PackageDiscoveryTrait.php line 332:
Could not find a version of package aimeos-extensions/shop matching your minimum-stability. Require it with an explicit version constraint allowing its desired stability.
Please help me to make the extension. And can it be done directly in the /shop folder?
aimeos/ai-laravel v.2023.10.4 Laravel v.10.43.0 PHP v.8.1.27, MacOS 14.2
I am at the very beginning of my journey. I want to make an extension for my project.
I did it according to the documentation:
1. Using the Aimeos extension builder, I prepared an extension for my project called shop.
2. I received the shop.zip archive.
3. Created a folder /packages/shop (DocumentRoot of my site: /public). Unzipped shop.zip into the shop folder.
4. In composer.json added:
Code: Select all
"repositories": [{
"type": "composer",
"url": "https://packages.aimeos.org/aimeoscom"
}, {
"type": "path",
"url": "packages/*"
}]
6. I got an error: PackageDiscoveryTrait.php line 332:
Could not find a version of package aimeos-extensions/shop matching your minimum-stability. Require it with an explicit version constraint allowing its desired stability.
Please help me to make the extension. And can it be done directly in the /shop folder?
Re: Error creating a project extension
Can someone who knows about this help me?
Re: Error creating a project extension
Did you create a sub-directory in the existing ./packages/ directory for your extension and unzipped the generated extension there? The ./packages/ directory is in the root directory of your Laravel application (not in the ./public/ directory!)
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Error creating a project extension
Thank you.
That's exactly what I did.
Lowered "minimum-stability" to 'dev' and the error disappeared.
On package mcarrowsmith-packages/shopify-graphql-client (v1.1) prompts for login and password.
Is this a paid package?
I correctly chose Aimeos 2023.x extension, maybe I should choose Laravel theme 2023.x extension for aimeos-laravel?
That's exactly what I did.
Lowered "minimum-stability" to 'dev' and the error disappeared.
On package mcarrowsmith-packages/shopify-graphql-client (v1.1) prompts for login and password.
Is this a paid package?
I correctly chose Aimeos 2023.x extension, maybe I should choose Laravel theme 2023.x extension for aimeos-laravel?
Re: Error creating a project extension
The mentioned package isn't one of ours and we also don't require it.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Error creating a project extension
Thank you.
I correctly chose Aimeos 2023.x extension, maybe I should choose Laravel theme 2023.x extension for aimeos-laravel?
BR
I correctly chose Aimeos 2023.x extension, maybe I should choose Laravel theme 2023.x extension for aimeos-laravel?
BR
Re: Error creating a project extension
I'm sorry,
I made so many attempts that unnecessary dependencies appeared: mcarrowsmith-packages.
Actually, the problem was that when I switched to Laravel 10, I set 'minimum-stability' to 'stable'.
Now I installed 'dev' and did the installation from the beginning. And, praise be to Aimeos, the extension is installed without any errors. My problem is solved.
I installed the Aimeos 2023.x extension for aimeos-laravel.
Thank you very much for your help and detailed replies.
Best Regards.
I made so many attempts that unnecessary dependencies appeared: mcarrowsmith-packages.
Actually, the problem was that when I switched to Laravel 10, I set 'minimum-stability' to 'stable'.
Now I installed 'dev' and did the installation from the beginning. And, praise be to Aimeos, the extension is installed without any errors. My problem is solved.
I installed the Aimeos 2023.x extension for aimeos-laravel.
Thank you very much for your help and detailed replies.
Best Regards.
Re: Error creating a project extension
The Laravel theme extension is only required if you want to offer a custom theme which can be selected in the admin backend. For all other requirements, the standard Aimeos extensions are sufficient.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Error creating a project extension
Thank you, I'll keep that in mind.