Skip to content

Unable to use node-gyp on the intranet #665

@msmolyak

Description

@msmolyak

I am trying to install/build node modules onthe intranet. I have access to the internal NPM repository mirroring npmjs.org, but no connection to the internet.

When I run npm install (or 'node-gyp configure build' directly), the program attempts to download https://nodejs.org/dist/v0.12.4/node-v0.12.4.tar.gz, which it clearly cannot without the access to the internet. I do have this file available on my intranet.

How do I instruct node-gyp to use the local version of this file? How do I use the tool offline?

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