Yii 2 bower errors



  • decided to set Yii 2 through composer

    http://www.yiiframework.com/doc-2.0/guide-start-installation.html

    composer create-project --prefer-dist yiisoft/yii2-app-basic yii2lesson

    Received

    The file or directory to be published does not exist: F:\OpenServer\domains\yii2lesson\vendor\bower/jquery/dist

    Okay.

    введите сюда описание изображения

    bower put himself in the bower-asset file.

    But there's no more compelling method to move your hands?



  • It happens sometimes if you use the old version of the composer. Please update your composer, and make sure you use the latest version of the extension.

    composer self-update
    composer global require "fxp/composer-asset-plugin:~1.1.1"
    


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2