yii2 - Cannot install Kartik Dialog -


this composer .json file

{ "minimum-stability": "stable", "require": {     "php": ">=5.4.0",     "yiisoft/yii2": "*",     "yiisoft/yii2-bootstrap": "*",     "yiisoft/yii2-swiftmailer": "*",     "kartik-v/yii2-nav-x": "*",     "johnitvn/yii2-ajaxcrud": "*",     "kartik-v/yii2-grid": "@dev",     "kartik-v/yii2-widget-timepicker": "*",     "kartik-v/yii2-widget-colorinput": "*",     "kartik-v/yii2-widget-datepicker": "@dev",     "kartik-v/yii2-widget-select2": "@dev",     "kartik-v/yii2-date-range": "dev-master",     "kartik-v/yii2-field-range": "dev-master",     "kartik-v/yii2-helpers": "dev-master",     "kartik-v/yii2-widget-datetimepicker": "*",     "kartik-v/yii2-widget-typeahead": "*",     "kartik-v/yii2-tabs-x": "@dev",     "bedezign/yii2-audit": "*",     "2amigos/yii2-chartjs-widget": "*",     "wbraganca/yii2-dynamicform": "*",     "kartik-v/yii2-mpdf": "*",     "kartik-v/yii2-export": "@dev",     "kartik-v/yii2-dialog": "@dev" }, "require-dev": {     "yiisoft/yii2-debug": "~2.0.0",     "yiisoft/yii2-gii": "~2.0.0",     "yiisoft/yii2-faker": "~2.0.0",      "codeception/base": "^2.2.3",     "codeception/verify": "~0.3.1" },      "config": {         "process-timeout": 1800,         "fxp-asset":{             "installer-paths": {                 "npm-asset-library": "vendor/npm",                 "bower-asset-library": "vendor/bower"             }         }     } } 

i source code github , add "kartik-v/yii2-dialog": "@dev" file , run composer update

but keep showing error

problem 1 - kartik-v/yii2-dialog v1.0.1 required bower-asset/bootstrap3-dialog ~1.34 ->no matching package found. - kartik-v/yii2-dialog v1.0.0 required bower-asset/bootstrap3-dialog ~1.34 ->no matching package found. - installation request kartik-v/yii2-dialog * -> satisfiable kartik-v/yii2-dialog[v1.0.0, v1.0.1].

can tell problem? try pc , instaill , works. cant work on own pc

i searched bit problem , have found out there several solutions.

  1. you can try go option #2 first if don't want test option. try install yii2 scratch , attempt install widget first. if works, means there problems previous project's package dependencies.

  2. if first option didn't work, problem composer.

try following commands:

composer self-update composer update 

if not solved, try further:

composer global require "fxp/composer-asset-plugin: ^1.3.1" composer update 
  1. if you're ok transferring files, can whatever wanted in computer has working composer. then, when it's done, copy entire project computer composer isn't working. satisfiable option, though.

Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -