You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I'm having some problems with smarty installation via composer. I found this problem only on one of my hosts.
PHP: 5.4.20
subversion-1.7.13
Even after failed installation i can see files in vendor/smarty.
composer.json
{
"require": {
"smarty/smarty": "v3.1.15"
}
}
DEV # php /usr/bin/composer.phar install
Loading composer repositories with package information
Installing dependencies (including require-dev)
- Installing smarty/smarty (v3.1.15)
Checking out /tags/v3.1.15/@4782
[RuntimeException]
Package could not be downloaded, A vendor/smarty/smarty/composer.json
A vendor/smarty/smarty/distribution
A vendor/smarty/smarty/distribution/change_log.txt
-- BIG LIST OF SMARTY FILES HERE --
A vendor/smarty/smarty/documentation/entities/ISO/ISOamsr
A vendor/smarty/smarty/documentation/entities/ISO/ISOlat2
Exception trace:
() at phar:///usr/bin/composer.phar/src/Composer/Downloader/SvnDownloader.php:84
Composer\Downloader\SvnDownloader->execute() at phar:///usr/bin/composer.phar/src/Composer/Downloader/SvnDownloader.php:33
Composer\Downloader\SvnDownloader->doDownload() at phar:///usr/bin/composer.phar/src/Composer/Downloader/VcsDownloader.php:59
Composer\Downloader\VcsDownloader->download() at phar:///usr/bin/composer.phar/src/Composer/Downloader/DownloadManager.php:180
Composer\Downloader\DownloadManager->download() at phar:///usr/bin/composer.phar/src/Composer/Installer/LibraryInstaller.php:155
Composer\Installer\LibraryInstaller->installCode() at phar:///usr/bin/composer.phar/src/Composer/Installer/LibraryInstaller.php:86
Composer\Installer\LibraryInstaller->install() at phar:///usr/bin/composer.phar/src/Composer/Installer/InstallationManager.php:153
Composer\Installer\InstallationManager->install() at phar:///usr/bin/composer.phar/src/Composer/Installer/InstallationManager.php:140
Composer\Installer\InstallationManager->execute() at phar:///usr/bin/composer.phar/src/Composer/Installer.php:511
Composer\Installer->doInstall() at phar:///usr/bin/composer.phar/src/Composer/Installer.php:212
Composer\Installer->run() at phar:///usr/bin/composer.phar/src/Composer/Command/InstallCommand.php:110
Composer\Command\InstallCommand->execute() at phar:///usr/bin/composer.phar/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:244
Symfony\Component\Console\Command\Command->run() at phar:///usr/bin/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:897
Symfony\Component\Console\Application->doRunCommand() at phar:///usr/bin/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:191
Symfony\Component\Console\Application->doRun() at phar:///usr/bin/composer.phar/src/Composer/Console/Application.php:117
Composer\Console\Application->doRun() at phar:///usr/bin/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:121
Symfony\Component\Console\Application->run() at phar:///usr/bin/composer.phar/src/Composer/Console/Application.php:83
Composer\Console\Application->run() at phar:///usr/bin/composer.phar/bin/composer:43
require() at /usr/bin/composer.phar:15
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [-v|vv|vvv|--ver
bose] [-o|--optimize-autoloader]
The text was updated successfully, but these errors were encountered:
It could be that your svn process returns 1 instead of 0 for some obscure reason. Could you run with -vvv so you get full output including executed commands? Then you could try to run the svn checkout command yourself and after it's done do echo $? to see which return code it had. If it's non-zero that's the problem.
Also you could try to run composer diagnose to check for php configuration issues.
Hello. I'm having some problems with smarty installation via composer. I found this problem only on one of my hosts.
PHP: 5.4.20
subversion-1.7.13
Even after failed installation i can see files in vendor/smarty.
composer.json
The text was updated successfully, but these errors were encountered: