Skip to content

$ ng github-pages:deploy fails to delete src/client/app and wipes the directory #601

Description

@Aidurber

I'm trying to deploy to github pages however it's failing remove "src/client/app", and wiping my directory.

OS: Microsoft Windows 10 Pro, Version 10.0.10586 Build 10586

Versions:

angular-cli: 0.0.34
node: 5.0.0
os: win32 x64

Repro steps

  1. Committed all changes
  2. Ran ng github-pages:deploy --message "Optional commit message

Log

$ ng github-pages:deploy --message "Optional commit message"
Built project successfully. Stored in "dist/".
Command failed: C:\WINDOWS\system32\cmd.exe /s /c "git clean -f -d"
warning: failed to remove src/client/app

Error: Command failed: C:\WINDOWS\system32\cmd.exe /s /c "git clean -f -d"
warning: failed to remove src/client/app

    at ChildProcess.exithandler (child_process.js:203:12)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:818:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

Full source is here if needed: https://github.com/Aidurber/Ng2-ImgurClone

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions