Skip to content

🐛 Bug Report: appwrite init site #181

@rostlino

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

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions