Skip to content

infinite loop in node-gyp configure if an empty key is present in the .npmrc config file #744

@jmorille

Description

@jmorille

if a new line is created with a space in the userconfig file /home/[user]/.npmrc
like the ticket open in npm npm/npm#9756

that create an empty key with the values true

# npm config list
; userconfig /home/[user]/.npmrc
 = true

the command node-gyp configure create an infinite loop that eat all the cpu forever.

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