Open emmenko opened 1 month ago
Describe the issue
On Windows machines, installing a starter template with create-mc-app fails with Access is denied when attempting to move the template files.
Reference: https://github.com/commercetools/merchant-center-application-kit/discussions/1985#discussioncomment-9814437
To Reproduce Steps to reproduce the behavior:
D:
create-mc-app
Copying template starter into project directory
Expected behavior
The CLI create-mc-app works also on Windows machines when using the D: drive.
Additional context
It appears that the move command (what is used by the CLI to "copy" the template folder) does not work in Windows across drives (C: → D:).
move
C:
The only way to make it work is to copy the files (not move them).
Describe the issue
On Windows machines, installing a starter template with create-mc-app fails with Access is denied when attempting to move the template files.
Reference: https://github.com/commercetools/merchant-center-application-kit/discussions/1985#discussioncomment-9814437
To Reproduce Steps to reproduce the behavior:
D:
drivecreate-mc-app
command to install a starter templateCopying template starter into project directory
Expected behavior
The CLI create-mc-app works also on Windows machines when using the D: drive.
Additional context
It appears that the
move
command (what is used by the CLI to "copy" the template folder) does not work in Windows across drives (C:
→D:
).The only way to make it work is to copy the files (not move them).