Skip to content

"rm: could not remove directory (code EACCES): ./wp-content/plugins/wp-cypress" #105

@PaulREnglish

Description

@PaulREnglish

Describe the bug
After setting the wpContent property in cypress.json, running npx wp-cypress start gives an error "rm: could not remove directory (code EACCES): ./wp-content/plugins/wp-cypress". WP-Cypress stills runs ok though even after receiving this error.

https://d.pr/WQRpxe

To Reproduce
Steps to reproduce the behavior:

  1. Add the wpContent property to the cypress.json file. (Make sure to give the wpContent a path property as it is a required property)
  2. Run npx wp-cypress start
  3. Error is shown after the Docker found step.

Expected behavior
I expect no error to be shown.

Screenshots
Screenshot of error message:
https://d.pr/WQRpxe

Desktop (please complete the following information):

  • OS: macOS
  • wp-cypress: version 0.9.5
  • cypress: version 9.7.0
  • cypress browser: chrome

Metadata

Metadata

Assignees

No one assigned

    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