Skip to content

[BUG] Upgrade node-gyp to ^8.1.2 version #3525

Closed

Description

@altro3

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When I run yarn install, see these warnings

warning npm > node-gyp > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning npm > node-gyp > request > uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.
  See https://v8.dev/blog/math-random for details.
warning npm > node-gyp > request > har-validator@5.1.5: this library is no longer supported

Expected Behavior

Need to upgrade dependency "node-gyp": "^7.1.2" to "node-gyp": "^8.1.2" - it already uses node-fetch (see pull request nodejs/node-gyp#2220)

Steps To Reproduce

  1. In this environment...
  2. With this config...
  3. Run '...'
  4. See error...

Environment

  • OS: Windows 10
  • Node: 16.4.2
  • npm: 7.19.1

Activity

  1. added
    Bugthing that needs fixing
    Needs Triageneeds review for next steps
    Release 7.xwork is associated with a specific npm 7 release
    on Jul 8, 2021
  2. changed the title [-][BUG] <title>[/-] [+][BUG] Upgrade node-gyp to ^8.1.2 version[/+] on Jul 8, 2021
  3. wraithgar commented on Jul 12, 2021

    @wraithgar
    Contributor

    Updating node-gyp is on our roadmap, but it may not be able to happen until npm@8 because it is a breaking change and is not supported in node versions 10.0.0 through 10.11.0, which npm@7 has to support. It also drops support for some python versions, and we are discussing whether or not that also prevents us from updating in this npm version.

    You can see the ongoing discussion here nodejs/node-gyp#2392

    The bug that prevents users from specifying their own node-gyp version is being tracked here #2839

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

    Bugthing that needs fixingNeeds Triageneeds review for next stepsRelease 7.xwork is associated with a specific npm 7 release

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions