Skip to content

Incompatible with npm v7+ #32

@AdamVig

Description

@AdamVig

According to npm/cli#2692, the node_modules/.hooks functionality used by this package is no longer supported in npm v7. For me, this manifests in the following way:

> npm update -g
npm ERR! code EINVALIDPACKAGENAME
npm ERR! Invalid package name ".hooks": name cannot start with a period

Removing this plugin from my local environment fixed this error.

I wanted to open this issue to discuss whether this plugin could be made compatible with npm v7. If not, I would be happy to make a pull request that shows a warning when npm v7 is detected.

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