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
{{ message }}
Repository navigation
"ng github-pages:deploy" is fail on 1.0.0-beta.22-1 #3507
Command failed: git clean -f -d
warning: failed to remove src/lib
There was a permissions error during git file operations, please close any open project files/folders and try again.
You might also need to return to the master branch manually.
My Environment.
$ ng --version
angular-cli: 1.0.0-beta.22-1
node: 6.7.0
os: win32 x64
I'm responsible for this and am truly sorry. I wish it hadn't been included in 1.0.0-beta.22-1.
It has been fixed as of 1.0.0-beta.23 with the following:
returnexecPromise(`git rm -r ${files}`).catch(()=>{// Ignoring errors when trying to erase files.});
The issue is simply that git rm -r errors if it's not provided any files. This only happens upon initial deployment as there are no old files yet to remove.
Activity
Avoid issue #3507
armsc commentedon Dec 19, 2016
Fix above worked at my end
Thanks @ovrmrw !!
Using Debian Jessie and Node 6.9
rolyatsats commentedon Dec 19, 2016
I'm responsible for this and am truly sorry. I wish it hadn't been included in
1.0.0-beta.22-1.It has been fixed as of
1.0.0-beta.23with the following:The issue is simply that
git rm -rerrors if it's not provided any files. This only happens upon initial deployment as there are no old files yet to remove.filipesilva commentedon Feb 3, 2017
Closed via #4385.
angular-automatic-lock-bot commentedon Sep 6, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.