Skip to content

[BUG] npm error enoent ENOENT: no such file or directory, lstat 'C:\Users\xxxx\AppData\Roaming\npm' #8829

@eabase

Description

@eabase

Is there an existing issue for this?

  • I have searched the existing issues

This issue exists in the latest npm version

  • I am using the latest npm

Current Behavior

Installing node/npm fails to create C:\Users\<username>\AppData\Roaming\npm directory.

Expected Behavior

That MSI installer works

Steps To Reproduce

This is a duplicate of #6971
However, issue was closed without fix with no option to reopen.

See comments therein.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingNeeds Triageneeds review for next steps

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions