Answer the question
In order to leave comments, you need to log in
Yii2 does not see widgets from kartik, how to fix it?
Hello! Something happened to the composer, but the problem is that yii2 does not see the widgets from the card. The server is on ubuntu. All the time an error class Select2 not found ..... tell me please
{
"name": "yiisoft/yii2-app-advanced",
"description": "Yii 2 Advanced Project Template",
"keywords": [
"yii2",
"framework",
"advanced",
"project template"
],
"homepage": "http://www.yiiframework.com/",
"type": "project",
"license": "BSD-3-Clause",
"support": {
"issues": "https://github.com/yiisoft/yii2/issues?state=open",
"forum": "http://www.yiiframework.com/forum/",
"wiki": "http://www.yiiframework.com/wiki/",
"irc": "irc://irc.freenode.net/yii",
"source": "https://github.com/yiisoft/yii2"
},
"minimum-stability": "dev",
"require": {
"php": ">=5.4.0",
"yiisoft/yii2": "~2.0.6",
"yiisoft/yii2-bootstrap": "~2.0.0",
"yiisoft/yii2-swiftmailer": "~2.0.0",
"rmrevin/yii2-fontawesome": "~2.17",
"kartik-v/yii2-export": "@dev",
"kartik-v/yii2-widget-datepicker": "dev-master",
"kartik-v/yii2-widget-select2": "@dev",
"kartik-v/yii2-grid": "@dev",
"kartik-v/yii2-tabs-x": "*",
"loveorigami/yii2-modal-ajax": "@dev",
"kartik-v/yii2-mpdf": "dev-master",
"cboden/ratchet": "dev-master",
"skeeks/yii2-mobile-detect": "dev-master",
"kartik-v/yii2-widget-datetimepicker": "dester",
чиь
},
"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
},
"extra": {
"asset-installer-paths": {
"npm-asset-library": "vendor/npm",
"bower-asset-library": "vendor/bower"
}
},
"scripts": {
"post-install-cmd": "php init --env=Development --overwrite=n"
},
}
<?php
$vendorDir = dirname(__DIR__);
return array (
'yiisoft/yii2-swiftmailer' =>
array (
'name' => 'yiisoft/yii2-swiftmailer',
'version' => '2.0.7.0',
'alias' =>
array (
'@yii/swiftmailer' => $vendorDir . '/yiisoft/yii2-swiftmailer',
),
),
'rmrevin/yii2-fontawesome' =>
array (
'name' => 'rmrevin/yii2-fontawesome',
'version' => '2.9999999.9999999.9999999-dev',
'alias' =>
array (
'@rmrevin/yii/fontawesome' => $vendorDir . '/rmrevin/yii2-fontawesome',
),
),
'skeeks/yii2-mobile-detect' =>
array (
'name' => 'skeeks/yii2-mobile-detect',
'version' => '9999999-dev',
'alias' =>
array (
'@skeeks/yii2/mobiledetect' => $vendorDir . '/skeeks/yii2-mobile-detect',
),
),
'kartik-v/yii2-widget-datepicker' =>
array (
'name' => 'kartik-v/yii2-widget-datepicker',
'version' => '9999999-dev',
'alias' =>
array (
'@kartik/date' => $vendorDir . '/kartik-v/yii2-widget-datepicker/src',
),
),
'kartik-v/yii2-widget-datetimepicker' =>
array (
'name' => 'kartik-v/yii2-widget-datetimepicker',
'version' => '9999999-dev',
'alias' =>
array (
'@kartik/datetime' => $vendorDir . '/kartik-v/yii2-widget-datetimepicker/src',
),
),
'kartik-v/yii2-sortable' =>
array (
'name' => 'kartik-v/yii2-sortable',
'version' => '9999999-dev',
'alias' =>
array (
'@kartik/sortable' => $vendorDir . '/kartik-v/yii2-sortable/src',
),
),
'kartik-v/yii2-dialog' =>
array (
'name' => 'kartik-v/yii2-dialog',
'version' => '9999999-dev',
'alias' =>
array (
'@kartik/dialog' => $vendorDir . '/kartik-v/yii2-dialog/src',
),
),
'kartik-v/yii2-dynagrid' =>
array (
'name' => 'kartik-v/yii2-dynagrid',
'version' => '9999999-dev',
'alias' =>
array (
'@kartik/dynagrid' => $vendorDir . '/kartik-v/yii2-dynagrid/src',
),
),
'kartik-v/yii2-export' =>
array (
'name' => 'kartik-v/yii2-export',
'version' => '9999999-dev',
'alias' =>
array (
'@kartik/export' => $vendorDir . '/kartik-v/yii2-export/src',
),
),
'kartik-v/yii2-grid' =>
array (
'name' => 'kartik-v/yii2-grid',
'version' => '9999999-dev',
'alias' =>
array (
'@kartik/grid' => $vendorDir . '/kartik-v/yii2-grid/src',
),
),
'kartik-v/yii2-krajee-base' =>
array (
'name' => 'kartik-v/yii2-krajee-base',
'version' => '9999999-dev',
'alias' =>
array (
'@kartik/base' => $vendorDir . '/kartik-v/yii2-krajee-base/src',
),
),
'kartik-v/yii2-mpdf' =>
array (
'name' => 'kartik-v/yii2-mpdf',
'version' => '9999999-dev',
'alias' =>
array (
'@kartik/mpdf' => $vendorDir . '/kartik-v/yii2-mpdf/src',
),
),
'kartik-v/yii2-tabs-x' =>
array (
'name' => 'kartik-v/yii2-tabs-x',
'version' => '9999999-dev',
'alias' =>
array (
'@kartik/tabs' => $vendorDir . '/kartik-v/yii2-tabs-x/src',
),
),
'kartik-v/yii2-widget-activeform' =>
array (
'name' => 'kartik-v/yii2-widget-activeform',
'version' => '9999999-dev',
'alias' =>
array (
'@kartik/form' => $vendorDir . '/kartik-v/yii2-widget-activeform/src',
),
),
'kartik-v/yii2-widget-select2' =>
array (
'name' => 'kartik-v/yii2-widget-select2',
'version' => '9999999-dev',
'alias' =>
array (
'@kartik/select2' => $vendorDir . '/kartik-v/yii2-widget-select2/src',
),
),
'loveorigami/yii2-modal-ajax' =>
array (
'name' => 'loveorigami/yii2-modal-ajax',
'version' => '9999999-dev',
'alias' =>
array (
'@lo/widgets/modal' => $vendorDir . '/loveorigami/yii2-modal-ajax/src',
),
),
'yiisoft/yii2-bootstrap' =>
array (
'name' => 'yiisoft/yii2-bootstrap',
'version' => '9999999-dev',
'alias' =>
array (
'@yii/bootstrap' => $vendorDir . '/yiisoft/yii2-bootstrap/src',
),
),
'yiisoft/yii2-debug' =>
array (
'name' => 'yiisoft/yii2-debug',
'version' => '9999999-dev',
'alias' =>
array (
'@yii/debug' => $vendorDir . '/yiisoft/yii2-debug/src',
),
),
'yiisoft/yii2-faker' =>
array (
'name' => 'yiisoft/yii2-faker',
'version' => '9999999-dev',
'alias' =>
array (
'@yii/faker' => $vendorDir . '/yiisoft/yii2-faker/src',
),
),
'yiisoft/yii2-gii' =>
array (
'name' => 'yiisoft/yii2-gii',
'version' => '9999999-dev',
'alias' =>
array (
'@yii/gii' => $vendorDir . '/yiisoft/yii2-gii/src',
),
),
);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question