Skip to content

馃悰 Bug Report: appwrite init site#181

Description

@rostlino

馃憻 Reproduction steps

run appwrite init site on latest Windows 11

馃憤 Expected behavior

init the site.

The issue is probably inside the mkdir -p ., because it created a folder named -p, it should probably just run git clone https://github.com/appwrite/starter-for-analog.git . because the . just clone the content in current folder ?

馃憥 Actual Behavior

Error: Command failed: cmd /c "mkdir -p .
            cd .
            git init
            git remote add origin https://github.com/appwrite/starter-for-analog
            git config --global init.defaultBranch main
            git fetch --depth=1 origin refs/tags/$(git ls-remote --tags origin "0.1.*" | tail -n 1 | awk -F '/' '{print $3}')
            git checkout FETCH_HEAD"
A subdirectory or file . already exists.

馃幉 Appwrite version

Appwrite Cloud

馃捇 Operating system

Windows

馃П Your Environment

Everything is latest versionm, CLI 8.2.1

馃憖 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

馃彚 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions