Composer: eonasdan/bootstrap-datetimepicker installed into components -


this question has answer here:

for cakephp application, i'm trying install eonasdan/bootstrap-datetimepicker via composer.

but, unlike other packages, , dependencies installed components , not vendor/components:

$ composer require eonasdan/bootstrap-datetimepicker using version dev-master eonasdan/bootstrap-datetimepicker ./composer.json has been updated loading composer repositories package information updating dependencies (including require-dev)   - installing symfony/process (v2.7.5)     loading cache    - installing kriswallsmith/assetic (v1.3.0)     loading cache    - installing robloach/component-installer (0.2.3)     loading cache    - installing moment/moment (2.10.6)     loading cache    - installing eonasdan/bootstrap-datetimepicker (dev-master fd8bd86)     cloning fd8bd86dd78f789fb742798b7d49aba0a957af62  kriswallsmith/assetic suggests installing twig/twig (assetic provides integration twig templating engine) kriswallsmith/assetic suggests installing leafo/lessphp (assetic provides integration lessphp less compiler) kriswallsmith/assetic suggests installing leafo/scssphp (assetic provides integration scssphp scss compiler) kriswallsmith/assetic suggests installing ptachoire/cssembed (assetic provides integration phpcssembed embed data uris) kriswallsmith/assetic suggests installing leafo/scssphp-compass (assetic provides integration scss compass plugin) kriswallsmith/assetic suggests installing patchwork/jsqueeze (assetic provides integration jsqueeze javascript compressor) writing lock file generating autoload files > cake\composer\installer\plugininstaller::postautoloaddump > componentinstaller\installer::postautoloaddump compiling component files 

$ ls -l components/ totale 624 drwxr-xr-x 4 mirko mirko   4096 ott 10 15:07 bootstrap-datetimepicker drwxr-xr-x 2 mirko mirko   4096 ott 10 15:07 jquery drwxr-xr-x 4 mirko mirko   4096 ott 10 15:07 moment -rw-r--r-- 1 mirko mirko 537897 ott 10 15:07 require-built.js -rw-r--r-- 1 mirko mirko    611 ott 10 15:07 require.config.js -rw-r--r-- 1 mirko mirko      0 ott 10 15:07 require.css -rw-r--r-- 1 mirko mirko  81714 ott 10 15:07 require.js 

by way, have noticed both jquery , moment installed again (because dependencies of bootstrap-datetimepicker), although have installed (for reasons).

why happen? how can fix it?

i found similar question it. can edit component-dir:

{     "require": {         "components/jquery": "*"      },      "config": {           "component-dir": "web/assets"      } } 

more composer installs jquery components in wrong directory


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -