NullRefExcep / yii2-product

2 stars 1 forks source link

composer issues #1

Open MichalNemec opened 5 years ago

MichalNemec commented 5 years ago
"require": {
        "php": ">=5.5.0",
        "nullref/yii2-blog": "*",
        "nullref/yii2-category": "*",
        "nullref/yii2-cms": "*",
        "nullref/yii2-core": "*",
        "nullref/yii2-full-admin": "dev-master",
        "nullref/yii2-product": "dev-master",
        "nullref/yii2-useful": "dev-master",
        "vlucas/phpdotenv": "~1.0@dev",
        "yiisoft/yii2": ">=2.0.13",
        "yiisoft/yii2-bootstrap": "^2.0",
        "yiisoft/yii2-shell": "^2.0",
        "yiisoft/yii2-swiftmailer": "~2.0.0 || ~2.1.0"
    },
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package nullref/yii2-useful (locked at v0.0.4, required as dev-master) is satisfiable by nullref/yii2-useful[v0.0.4] but these conflict with your requirements or minimum-stability.
  Problem 2
    - nullref/yii2-category dev-master requires nullref/yii2-useful ^0.0.4 -> satisfiable by nullref/yii2-useful[v0.0.4] but these conflict with your requirements or minimum-stability.
    - nullref/yii2-category dev-master requires nullref/yii2-useful ^0.0.4 -> satisfiable by nullref/yii2-useful[v0.0.4] but these conflict with your requirements or minimum-stability.
    - nullref/yii2-category dev-master requires nullref/yii2-useful ^0.0.4 -> satisfiable by nullref/yii2-useful[v0.0.4] but these conflict with your requirements or minimum-stability.
    - Installation request for nullref/yii2-category (locked at dev-master, required as *) -> satisfiable by nullref/yii2-category[dev-master].
ZAYEC77 commented 5 years ago

is it list of all your dependencies?

MichalNemec commented 5 years ago

just in case -> whole composer.json

{
    "name": "nullref/yii2-app",
    "description": "Yii 2 Project Template",
    "keywords": ["yii2", "framework", "project template"],
    "type": "project",
    "license": "MIT",
    "authors": [
        {
            "name": "Dmytro Karpovych",
            "email": "ZAYEC77@gmail.com"
        }
    ],
    "support": {
        "issues": "https://github.com/NullRefExcep/yii2-boilerplate/issues",
        "source": "https://github.com/NullRefExcep/yii2-boilerplate"
    },
    "minimum-stability": "dev",
    "require": {
        "php": ">=5.5.0",
        "nullref/yii2-blog": "*",
        "nullref/yii2-category": "*",
        "nullref/yii2-cms": "*",
        "nullref/yii2-core": "*",
        "nullref/yii2-full-admin": "dev-master",
        "nullref/yii2-useful": "dev-master",
        "vlucas/phpdotenv": "~1.0@dev",
        "yiisoft/yii2": ">=2.0.13",
        "yiisoft/yii2-bootstrap": "^2.0",
        "yiisoft/yii2-shell": "^2.0",
        "yiisoft/yii2-swiftmailer": "~2.0.0 || ~2.1.0"
    },
    "require-dev": {
        "codeception/codeception": "^2.2",
        "yiisoft/yii2-debug": "*",
        "yiisoft/yii2-gii": "*",
        "yiisoft/yii2-faker": "*"
    },
    "repositories": [
        {
            "type": "composer",
            "url": "https://asset-packagist.org"
        }
    ],
    "config": {
        "process-timeout": 1800,
        "sort-packages": true,
        "fxp-asset": {
            "enabled": false
        }
    },
    "scripts": {
        "post-create-project-cmd": [
            "yii\\composer\\Installer::postCreateProject",
            "cp .env.example .env"
        ]
    },
    "extra": {
        "yii\\composer\\Installer::postCreateProject": {
            "setPermission": [
                {
                    "runtime": "0777",
                    "web/assets": "0777",
                    "yii": "0755"
                }
            ],
            "generateCookieValidationKey": [
                "src/config/web.php"
            ]
        }
    }
}
ZAYEC77 commented 5 years ago

so, you have setup our skeleton and than add product module?

MichalNemec commented 5 years ago

yes, im trying all modules which are available and i got stuck on this. I have followed all your stuff, for compatibility

ZAYEC77 commented 5 years ago

Actually, we don't have to much useful staff in this module, so, you could skip it for now. I'll try to resolve this issue as soon as possible.

MichalNemec commented 5 years ago

Okay, no problem, thanks for such a speedy responses tho

ZAYEC77 commented 5 years ago

I have reviewed the code of this repository, I had created it two years ago and now its implementation looks for me to bad to maintain it. The main idea of this package is providing a flexible way to configure products entity at the website. For those purposes, we have a better solution call EAV. I recommend you to check it instead of this package. I'll update readme of this package to prevent future confusions.