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 was attempting to work with this cookiecutter on a Windows machine, but cloning the repo fails because of the templated directories and filenames containing the | character. That is an invalid character for directories and filenames on Windows.
I checked the commit history to try to figure out why those are being templated, but it wasn't really clear to me. Is there perhaps an alternate way to fix whatever the problem was?
C:\Users\Loren\.cookiecutters> git clone https://github.com/robinandeer/cookiecutter-pyvanguard.git
Cloning into 'cookiecutter-pyvanguard'...
remote: Counting objects: 648, done.
remote: Total 648 (delta 0), reused 0 (delta 0), pack-reused 648
Receiving objects: 100% (648/648), 193.15 KiB | 0 bytes/s, done.
Resolving deltas: 100% (339/339), done.
Checking connectivity... done.
error: unable to create file {{cookiecutter.repo_name}}/tests/test_{{ cookiecutter.repo_name|replace("-", "_") }}.py (Invalid argument)
fatal: cannot create directory at '{{cookiecutter.repo_name}}/{{cookiecutter.repo_name|replace("-", "_")}}': Invalid argument
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'
The text was updated successfully, but these errors were encountered:
I was attempting to work with this cookiecutter on a Windows machine, but cloning the repo fails because of the templated directories and filenames containing the
|
character. That is an invalid character for directories and filenames on Windows.I checked the commit history to try to figure out why those are being templated, but it wasn't really clear to me. Is there perhaps an alternate way to fix whatever the problem was?
The text was updated successfully, but these errors were encountered: