Skip to content

can this node-gyp warning be dealt with? #962

Open

Description

@eric-g-97477

I am using node 18.18.2 and yarn 3.2.4.

If I do:

  1. mkdir test
  2. cd test
  3. yarn init
  4. yarn add nan

I get the warning:

➤ YN0032: │ nan@npm:2.18.0: Implicit dependencies on node-gyp are discouraged

I aim for zero-warnings because unimportant warnings make it hard to notice important warnings.

Can this warning be dealt with?

Activity

  1. kkoopa commented on Nov 13, 2023

    @kkoopa
    Collaborator
  2. eric-g-97477 commented on Nov 13, 2023

    @eric-g-97477
    Author

    Ok. Still seems like it is a good recommendation. You may want to reconsider the implicit dependency. Feel free to close this issue if you know otherwise or keep it open as a reminder to investigate further.

  3. kkoopa commented on Nov 13, 2023

    @kkoopa
    Collaborator
  4. cclauss commented on Feb 8, 2025

    @cclauss
    Contributor

    Yes, but locking the version of node-gyp currently causes runtime failures on Python >= v3.12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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