Elendev / composer-push

Provide a `push` command to composer to push to repositories
Apache License 2.0
48 stars 30 forks source link

The end path "" is not absolute. #74

Open VictorDC92 opened 8 months ago

VictorDC92 commented 8 months ago

Utilizo el siguiente comando

composer push --username= --password= --url=http://nexus.com/repository/xxx 0.0.1-SNAPSHOT

Y me da el siguiente error.

In Filesystem.php line 456:

The end path "" is not absolute.

Me podeís echar una mano a ver como puedo solucionarlo.

livsi commented 6 months ago

I got the same error. The reason was in the autoload-dev section in my package composer.json:

"autoload-dev": { "psr-4": { "Vendor\\Tests\\": "tests" } },

I added the folder tests to ignore and the error disappeared:

composer push ... --ignore test ...