Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove-Item failure on AppVeyor #86

Open
michaelmior opened this issue Sep 22, 2017 · 1 comment
Open

Remove-Item failure on AppVeyor #86

michaelmior opened this issue Sep 22, 2017 · 1 comment

Comments

@michaelmior
Copy link

The build and deploy still works, but I get this message near the end. I'm not familiar with Powershell so I'm not really sure what's going on.

Remove-Item : The method or operation is not implemented.
At C:\projects\eson\ci\before_deploy.ps1:22 char:1
+ Remove-Item $STAGE
+ ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Remove-Item], NotImplementedException
    + FullyQualifiedErrorId : System.NotImplementedException,Microsoft.PowerShell.Commands.RemoveItemCommand
@commonquail
Copy link

commonquail commented Mar 3, 2018

I encountered it after changing the layout of $STAGE's contents in a way I think caused the earlier Remove-Item *.* to match no files. I'm not clear on exactly which part failed but I changed

Remove-Item *.* -Force
Set-Location ..
Remove-Item $STAGE

to

Set-Location ..
Remove-Item $STAGE -Force -Recurse

to recursively delete $STAGE and that works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants