preserve-paths
preserve-paths copied to clipboard
RuntimeException with --no-cache option
Package throws a runtime exception with --no-cache option set when running composer install or similar:
$ composer --no-dev --no-cache -o install
Gathering patches for root package.
Loading composer repositories with package information
Installing dependencies from lock file
Package operations: 0 installs, 1 update, 0 removals
[RuntimeException]
/dev/null/preserve-paths/e1ecf99583a81f8bf0a10be879439cc0dc06d423 does not exist and could not be created.
I'm running into the same issue as well. Once --no-cache was removed, the project installed successfully. Any luck?
As a workaround, I omit the --no-cache option and then delete the cache directory manually as needed, e.g. composer install && rm -rf ~/.composer/cache