Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starter template installation fails on Windows machines when using multiple drives #3555

Open
emmenko opened this issue Jun 20, 2024 · 0 comments
Labels
🐛 Type: Bug Something isn't working

Comments

@emmenko
Copy link
Member

emmenko commented Jun 20, 2024

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:

  1. Use a Windows machine with the D: drive
  2. Run the create-mc-app command to install a starter template
  3. The CLI fails at the step 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:).

The only way to make it work is to copy the files (not move them).

@emmenko emmenko added the 🐛 Type: Bug Something isn't working label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant