Affected line:
https://github.com/symfony/flex/blob/main/src/Flex.php#L534
Relative path to the vendor is outputed as vendor/, and should be trimmed from / but DIRECTORY_SEPARATOR on Windows is defined as \.
So when package.json is synchronized, resulted dependency path has duplicated slash like:
file:vendor//symfony/ux-turbo/Resources/assets
Affected line:
https://github.com/symfony/flex/blob/main/src/Flex.php#L534
Relative path to the vendor is outputed as
vendor/, and should be trimmed from/butDIRECTORY_SEPARATORon Windows is defined as\.So when
package.jsonis synchronized, resulted dependency path has duplicated slash like:file:vendor//symfony/ux-turbo/Resources/assets