New to magento
I wanted to upgrade my Magento to 2.4.4 .
Using php 7.4 with Ubuntu 20.04 and nginx
composer -vvv update
I get this:
Dependency resolution completed in 0.003 seconds
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Generating autoload files
> post-autoload-dump: LaminasDependencyPluginDependencyRewriterPluginDelegator->onPostAutoloadDump
119 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> post-update-cmd: MagentoHackathonComposerMagentoPlugin->onNewCodeEvent
start magento deploy via deployManager
jump over deployLibraries as no Magento libraryPath is set
> post-update-cmd: DealerdirectComposerPluginInstallersPHPCodeSnifferPlugin->onDependenciesChangedEvent
Running PHPCodeSniffer Composer Installer
Executing command (/var/www/magento2/vendor/bin): phpcs --config-show
Executing command (/var/www/magento2/vendor/squizlabs/php_codesniffer): '/usr/bin/php7.4' -d allow_url_fopen='1' -d disable_functions='' -d memory_limit='-1' ./bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard,../../phpcompatibility/php-compatibility
Failed to set PHP CodeSniffer installed_paths Config
so I go to the directory /var/www/magento2/vendor/squizlabs/php_codesniffer and run the command ‘/usr/bin/php7.4′ -d allow_url_fopen=’1′ -d disable_functions=” -d memory_limit=’-1′ ./bin/phpcs –config-set installed_paths ../../magento/magento-coding-standard,../../phpcompatibility/php-compatibility
I get:
PHP Warning: require(/var/www/magento2/vendor/composer/../../app/etc/NonComposerComponentRegistration.php): failed to open stream: No such file or directory in /var/www/magento2/vendor/composer/autoload_real.php on line 59
PHP Fatal error: require(): Failed opening required '/var/www/magento2/vendor/composer/../../app/etc/NonComposerComponentRegistration.php' (include_path='/var/www/magento2/vendor/magento/zendframework1/library:.:/usr/share/php') in /var/www/magento2/vendor/composer/autoload_real.php on line 59
clearly this is a path issue with my composer and I do not have any NonComposerComponentRegistration.php
How do I correct this path issue? should I just uninstall composer and reinstall it? hopefully this won’t affect my magento install.