You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to add the user forms (composer require silverstripe/userforms) on Windows 10 and got the following error:
Using version ^5.2 for silverstripe/userforms
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 3 installs, 0 updates, 0 removals
Installing silverstripe/segment-field (2.2.1): Loading from cache
Exposing web directories for silverstripe-vendormodule silverstripe/segment-field with method auto:
client/dist
[Symfony\Component\Filesystem\Exception\IOException]
C:\ss\public\resources\vendor\silverstripe\segment-field\client\dist is not a junction and thus cannot be removed as one
It is sound like somewhere trying to delete a symbolic link to a directory using rmdir command.
Is there any solutions/fixes to avoid this issue?
Tried to use "composer vendor-expose copy"...
No luck:
[ErrorException]
copy(C:\ss\vendor\silverstripe\segment-field\client\dist): failed to open stream: No such file or directory
The text was updated successfully, but these errors were encountered:
I have bumped into this kind of problem yesterday and I took the whole day to find a solution that worked for me. While composer worked for months I don't really know what I did but it stopped working yesterday. And it stopped working on all of my projects, specifically when "exposing directories". After some research I found these (without a single solution):
Everything started working again when I changed the PHP version that composer is using from 7.2 -> 7.1. And btw, composer simply uses the PHP version that is set in environment path (it doesn't have a separate setting).
I'm trying to add the user forms (composer require silverstripe/userforms) on Windows 10 and got the following error:
Using version ^5.2 for silverstripe/userforms
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 3 installs, 0 updates, 0 removals
Installing silverstripe/segment-field (2.2.1): Loading from cache
Exposing web directories for silverstripe-vendormodule silverstripe/segment-field with method auto:
client/dist
[Symfony\Component\Filesystem\Exception\IOException]
C:\ss\public\resources\vendor\silverstripe\segment-field\client\dist is not a junction and thus cannot be removed as one
It is sound like somewhere trying to delete a symbolic link to a directory using rmdir command.
Is there any solutions/fixes to avoid this issue?
Tried to use "composer vendor-expose copy"...
No luck:
[ErrorException]
copy(C:\ss\vendor\silverstripe\segment-field\client\dist): failed to open stream: No such file or directory
The text was updated successfully, but these errors were encountered: