Задать вопрос
@teodor7teodor7

Установка Yii2 как решить ошибку .vendor/bower/jquery/dist?

Ошибка при установки
The file or directory to be published does not exist: /var/www/site/vendor/bower/jquery/dist


php 7.0
Composer version 2.1.10

php composer.phar require --prefer-dist yiisoft/yii2-jui
приводит к ошибке
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - yiisoft/yii2-jui dev-master requires bower-asset/jquery-ui ~1.12.1 -> could not be found in any version, but the following packages provide it:
      - kriss/yii2-calendar-schedule Yii2 Calendar Schedule
      - ommu/gii Gii Generator Template from OMMU
      - ommu/faq Frequency Asked Question Module from OMMU
      - ommu/testimony Testimony Module from OMMU
      - ommu/support Support Module from OMMU
      - ommu/users Users Module from OMMU
      - yuncms/framework The Yuncms Framework.
      Consider requiring one of these to satisfy the bower-asset/jquery-ui requirement.
    - yiisoft/yii2-jui 2.0.x-dev is an alias of yiisoft/yii2-jui dev-master and thus requires it to be installed too.
    - Root composer.json requires yiisoft/yii2-jui 2.0.x-dev -> satisfiable by yiisoft/yii2-jui[2.0.x-dev (alias of dev-master)].

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
 - It's a private package and you forgot to add a custom repository to find it

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require yiisoft/yii2-jui:*" to figure out if any version is installable, or "composer require yiisoft/yii2-jui:^2.1" if you know which you need.
  • Вопрос задан
  • 91 просмотр
Подписаться 1 Простой Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы