facebook

Alternate npm repository (registry)

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #558845 Reply

    Bob Pecor
    Participant

    I’m trying to setup MyEclipse behind a firewall. We have an internal npm caching repo, but I’ve not been able to figure out how to get MyEclipse’s npm to use it.

    #558988 Reply

    support-swapna
    Moderator

    Bob,

    Please provide us some more details to help us investigate further :

    1. Can you please let us know how you configured the internal npm repo to work outside of MyEclipse ?
    2. Also share with us more details about the steps you tried to configure it in MyEclipse.

    –Swapna
    MyEclipse Support

    #558996 Reply

    support-swapna
    Moderator

    Bob,

    You can set the registry in the .npmrc file to your internal npm registry. MyEclipse will pick up the registry that is defined in the .npmrc when you run the npm commands from the Terminal+ view.

    Run this command : npm config set registry <registry url> from the Terminal+ view to set the registry in the .npmrc file. Alternatively, you can also add this line directly to the .npmrc file : registry=<registry url>.The .npmrc file will be located in your user home directory.

    Hope this helps. Please let us know how it works for you.

    –Swapna
    MyEclipse Support

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Alternate npm repository (registry)

You must be logged in to post in the forum log in