question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

support for downloading node or npm binaries from Nexus repository

See original GitHub issue

PR #330 was awesome and I know that this feature was discussed in the same thread(pushing NPM and Node binaries to Maven Central and making the plugin to fetch the binaries from the Maven repositories instead of using the NPM or Node download URLs)

Is this still being considered? If you think uploading all versions of node/npm to central will be a pain, could you please provide an optional parameter to configure the download URL, something like

<nodeDownloadURL>http://mynexus.com/my/groupid/node/${version}/node-${version}-${platform}-${architecture}.${extension}</nodeDownloadURL>

and replace the variables at runtime to figure out the actual download URL

This would help in fetching the binaries from a private Nexus repo/or any other kind of repository.

If you are ok with either of the options, I can raise a PR for the same 😄

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
dlsharpcommented, Jun 4, 2018

How do you configure the plugin so that yarn pulls dependencies from Nexus? My company has Nexus setup to mirror npm, but I can’t figure out how to configure the plugin so that it configures yarn to pull from the Nexus server.

0reactions
jgangemicommented, Sep 16, 2019

it would be nice if a direct url could be supported. there are ways in maven to ensure the proper binary is selected.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Nexus 3 as Your Repository – Part 2: npm Packages
A repository that proxies everything you download from the official npm registry. Next time you download the same dependency, it will be cached ......
Read more >
Nexus proxy to node-sass-binaries - github - Stack Overflow
i am proxying npm to get ibm_db but then ibm_db downloads a big gz file from ibm.com. ibm.com is https but my proxy...
Read more >
Custom Node module management using private npm registry ...
Nexus Repository is an open source repository allows you to proxy, collect, and manage your packages/dependencies.Here I'm going to show you how ...
Read more >
Publishing private NPM packages to Nexus - Level Up Coding
In create repository screen, select npm (proxy) which brings us to the configure page, we want to proxy to NPM public registry which...
Read more >
cds-maven-plugin – cds:install-node
Where to download Node.js binary from. Default value is: https://nodejs.org/dist/ . User property is: cds.install- ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found