composer-push icon indicating copy to clipboard operation
composer-push copied to clipboard

The end path "" is not absolute.

Open VictorDC92 opened this issue 1 year ago • 1 comments

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.

VictorDC92 avatar Feb 19 '24 13:02 VictorDC92

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 ...

livsi avatar Apr 02 '24 07:04 livsi