Skip to content

EPERM when running scandir #2045

Closed
Closed
@ghost

Description

  • I confirm that this is an issue rather than a question.

Bug report

Steps to reproduce

I don't know whether this is a macOS-specific issue.

$ npm i -g vuepress (or yarn global add vuepress)
$ vuepress

What is expected?

The expected thing was that Vuepress was supposed to build up a fully working Vue-powered website and be able to serve Markdown files.

What is actually happening?

asciicast

Other relevant information

  • Output of npx vuepress info in my VuePress project:
(node:55057) UnhandledPromiseRejectionWarning: Error: EPERM: operation not permitted, scandir '/Users/ryanccn/.Trash'
(node:55057) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:55057) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

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