Closed aftabnaveed closed 2 years ago
When trying to link my package I get this error
composer link ../php-packages/narwhal-layout Fatal error: Uncaught Error: Class "League\Flysystem\Local\LocalFilesystemAdapter" not found in /var/cache/composer/vendor/sandersander/composer-link/src/Plugin.php:82 Stack trace: #0 phar:///usr/bin/composer/src/Composer/Plugin/PluginManager.php(404): ComposerLink\Plugin->activate(Object(Composer\Composer), Object(Composer\IO\ConsoleIO)) #1 phar:///usr/bin/composer/src/Composer/Plugin/PluginManager.php(291): Composer\Plugin\PluginManager->addPlugin(Object(ComposerLink\Plugin), true, Object(Composer\Package\CompletePackage))
Yes, this happens because the plugin has a dependency on league/flysystem
and this gives problems when a project uses another version of that library, this currently fixed on the master branch and I removed league/flysystem
completely.
You can install the version on master
, I will release 0.2.0 soon, and it will be fixed in that version too.
I released v0.2.0, you can use that version and it would be fixed! 😄
Note that you need to run the link commands again when upgraded.
It works with the master branch now thank you :-)
When trying to link my package I get this error