Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation error #53

Closed
BonBonSlick opened this issue Jul 26, 2018 · 3 comments
Closed

Installation error #53

BonBonSlick opened this issue Jul 26, 2018 · 3 comments

Comments

@BonBonSlick
Copy link

Problem/Motivation

because i can not install some other packages, or update old one

Expected behaviour

composer update is seccesfull

Actual behaviour

errors

Steps to reproduce

composer update

Proposed changes

i do not know, seems compatibility issue

....
  - Installing dealerdirect/phpcodesniffer-composer-installer (v0.4.4): Loading from cache
Plugin installation failed, rolling back
  - Removing dealerdirect/phpcodesniffer-composer-installer (v0.4.4)

                                                                                                                                                                                                    
  [Symfony\Component\Process\Exception\ProcessFailedException]                                                                                                                                      
  The command "'/var/www/sitename/vendor/bin/phpcs' '--config-show' 'installed_paths'" failed.                                                                                                        
                                                                                                                                                                                                    
  Exit Code: 255(Unknown error)                                                                                                                                                                     
                                                                                                                                                                                                    
  Working directory: /var/www/sitename                                                                                                                                                                
                                                                                                                                                                                                    
  Output:                                                                                                                                                                                           
  ================                                                                                                                                                                                  
                                                                                                                                                                                                    
                                                                                                                                                                                                    
  Error Output:                                                                                                                                                                                     
  ================                                                                                                                                                                                  
  PHP Warning:  require_once(/var/www/sitename/vendor/composer/autoload_real.php): failed to open stream: No such file or directory in /var/www/sitename/vendor/autoload.php on line 5                  
  PHP Stack trace:                                                                                                                                                                                  
  PHP   1. {main}() /var/www/sitename/vendor/squizlabs/php_codesniffer/bin/phpcs:0                                                                                                                    
  PHP   2. spl_autoload_call() /var/www/sitename/vendor/squizlabs/php_codesniffer/bin/phpcs:17                                                                                                        
  PHP   3. PHP_CodeSniffer\Autoload::load() /var/www/sitename/vendor/squizlabs/php_codesniffer/bin/phpcs:17                                                                                           
  PHP   4. include() /var/www/sitename/vendor/squizlabs/php_codesniffer/autoload.php:79                                                                                                               
  PHP Fatal error:  require_once(): Failed opening required '/var/www/sitename/vendor/composer/autoload_real.php' (include_path='.:/usr/share/php') in /var/www/sitename/vendor/autoload.php on line 5  
  PHP Stack trace:                                                                                                                                                                                  
  PHP   1. {main}() /var/www/sitename/vendor/squizlabs/php_codesniffer/bin/phpcs:0                                                                                                                    
  PHP   2. spl_autoload_call() /var/www/sitename/vendor/squizlabs/php_codesniffer/bin/phpcs:17                                                                                                        
  PHP   3. PHP_CodeSniffer\Autoload::load() /var/www/sitename/vendor/squizlabs/php_codesniffer/bin/phpcs:17                                                                                           
  PHP   4. include() /var/www/sitename/vendor/squizlabs/php_codesniffer/autoload.php:79  
@jrfnl
Copy link
Member

jrfnl commented Sep 7, 2018

Loosely related to #48 ? Different error code, but same command triggering an error.

@BonBonSlick
Copy link
Author

@jrfnl i do not know, removed sniffer

@frenck
Copy link
Contributor

frenck commented Oct 25, 2018

This seems to be fixed by #51, which is merged in and will be part of the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants