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
Repository cannot be cloned in a Windows operating system. Colon is a reserved file system character (e.g. C:) and results in an error when the repository is cloned via git clone. This has the effect of making it difficult, if not impossible, to use snyk-api-import from source.
Steps to reproduce
On a Windows machine, run git clone https://github.com/snyk-tech-services/snyk-api-import.git
Debug log
Cloning into 'snyk-api-import'...
remote: Enumerating objects: 3527, done.
remote: Counting objects: 100% (883/883), done.
remote: Compressing objects: 100% (316/316), done.
remote: Total 3527 (delta 689), reused 655 (delta 552), pack-reused 2644
Receiving objects: 100% (3527/3527), 925.47 KiB | 2.30 MiB/s, done.
Resolving deltas: 100% (2258/2258), done.
error: invalid path 'src/cmds/import:data.ts'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
The text was updated successfully, but these errors were encountered:
node -v
: v16.13.1npm -v
: 8.5.1git clone https://github.com/snyk-tech-services/snyk-api-import.git
Expected behaviour
Repository should be usable on Windows platforms.
Actual behaviour
Repository cannot be cloned in a Windows operating system. Colon is a reserved file system character (e.g.
C:
) and results in an error when the repository is cloned viagit clone
. This has the effect of making it difficult, if not impossible, to usesnyk-api-import
from source.Steps to reproduce
On a Windows machine, run
git clone https://github.com/snyk-tech-services/snyk-api-import.git
Debug log
The text was updated successfully, but these errors were encountered: