-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
After tracing through the code, I noticed that no matter what unless the --tarball flag is explicitly stated node-gyp will always attempt to pull the headers from the internet. The problem with this workaround is that if you try to install an existing npm module built with node-gyp, there is no means to specifying this flag.
It looks like fixing this would be as simple as adding a check if the file already exists in ~/.node-gyp for the architecture, or supporting an environment variable that specifies the path rather than a flag:
goyalyashpal
Metadata
Metadata
Assignees
Labels
No labels