studio icon indicating copy to clipboard operation
studio copied to clipboard

Unknown downloader type

Open Selion05 opened this issue 7 years ago • 9 comments

[InvalidArgumentException] Unknown downloader type: . Available types: git, svn, fossil, hg, perforce, zip, rar, tar, gzip, xz, phar, file, path.

Not sure where this error comes from but I often get it if I change something in composer.json...

To get rid of it I have to delete the symlinked folder in vendor

Selion05 avatar Jan 30 '18 11:01 Selion05

Sometimes it helps to git reset the content of the folders. Sometimes it helps, as you mentioned, to remove the symlinked folders. If you have changed something to your repositories and add some new path to a package which already exists, please be sure to delete the target folder out of vender before.

Would be cool to have a better error message here: Hey, please check/delete/whatever target folder of package x/y before updating.

froemken avatar Jul 03 '18 07:07 froemken

I got the same error with 0.14.0-beta1 and private packages. Now after cleaning the vendor directory and running composer update I get the following error:

  [InvalidArgumentException]                                              
  Package xxx/xxx-9999999-dev seems not been installed properly

berni2288 avatar Sep 14 '18 09:09 berni2288

  1. I deleted the vendor directory rm -Rf vendor/ , and
  2. I have run composer update Now here is no error. It solved my problem.

mahfuz10 avatar Feb 04 '19 17:02 mahfuz10

I've also had this problem. Like @mahfuz10 deleting the vendor directory fixed it.

p2made avatar Aug 27 '19 14:08 p2made

Can any of you provide reproducible instructions or a repository where this problem can be reliably produced, so that I can investigate a bit more?

franzliedke avatar Aug 28 '19 21:08 franzliedke

I suspect it's a composer issue. The projects where this issue occurs for me don't load franzliedke/studio at all.

p2made avatar Sep 02 '19 15:09 p2made

I my case, for testing purposes I've created a symbolic link inside the vendor directory, this caused the error

  [InvalidArgumentException]                                                                                              
  Unknown downloader type: . Available types: git, svn, fossil, hg, perforce, zip, rar, tar, gzip, xz, phar, file, path.  

when I execute the composer install

caleeli avatar Feb 04 '20 20:02 caleeli

I've seen the same error, after installing a package from a local directory (using these instructions: https://barryvanveen.nl/blog/44-package-development-run-a-package-from-a-local-directory) and then trying to remove it again.

matthijskooijman avatar Sep 06 '20 17:09 matthijskooijman

Any news on a fix for this?

cobhimself avatar Oct 20 '20 14:10 cobhimself