Skip to content

npmrc causes npm to install to home directory instead of nodeenv #165

Description

@telaviv

Here is what happened when I tried to get eslint installed:

$ pre-commit run --all-files
eslint..............................................................................................................................................................................................................................................................................................................Failed
hookid: eslint

xargs: eslint: No such file or directory

Moving .npmrc to nope.npmrc fixed the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions