GithubHelp home page GithubHelp logo

npmpackagedownloader's People

Contributors

gotenxds avatar hermesiss avatar renaldobf avatar shayalaluf avatar wseng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

npmpackagedownloader's Issues

Cannot run in a mac environment

Hi im evaluating this tool in my organization as a way to download dependencies for offline usage.

Whenever I'm trying the sample command in your page i'm getting the following issue:

env: node\r: No such file or directory

I'm using Node v5.4.1 and NPM 3.6.0

unsuccessful running on RHEL7

Hey,

I tried the npmDownload on windows 10 and it worked great.
but on RHEL 7 I couldnt manage to run it for some reason..

when I'm trying to run it with the following example:
npmDownload --packages "[email protected] grunt" --dependencies --output .
The result I get is:
: No such file or directory

*I checked for typing error or unwanted ":" before the command and I couldn't find anything wrong..

Can you please check when you have the time?
Thanks!

Download dependencies by default

Most of the uses for this package is create an offline repository. This is not possible if you don't download the dependencies. Therefore it's make more sense to have the dependencies downloading option as a default.

Download is slow

Hello,

I've tried your tool with react-scripts but the download is very slow... Is there a way to download faster?

Regards,

On error whole download stops

When running a download and an error occurs in one of the dependencies, the whole download stops instead of log and continue.

Example:
npmDownload --packages "gulp" --dependencies --allVersions --output C:\Temp\Downloads

Not ES6 compatible?

Tried to run it on node v8.4.0.

Due to #6, have to run it from the source dir
/usr/lib/node_modules/npm-package-downloader/bin as
node npmDownload.js -p request -o /tmp

but get as output

/usr/lib/node_modules/npm-package-downloader/bin$ node npmDownload.js -p request -o /tmp
info:    Welcome to npm package downloader.
info:    Downloading -> request
info:    Downloading  https://registry.npmjs.org/request/-/request-2.81.0.tgz
     fetch : https://registry.npmjs.org/request/-/request-2.81.0.tgz
  progress : [====================] 100% 0.0s

/usr/lib/node_modules/npm-package-downloader/node_modules/download/node_modules/each-async/node_modules/onetime/index.js:15
				throw new Error(fnName + ' can only be called once.');
				^

Error: callback() can only be called once.
    at onetime (/usr/lib/node_modules/npm-package-downloader/node_modules/download/node_modules/each-async/node_modules/onetime/index.js:15:11)
    at /usr/lib/node_modules/npm-package-downloader/node_modules/download/index.js:156:5
    at ConcatStream.<anonymous> (/usr/lib/node_modules/npm-package-downloader/node_modules/download/node_modules/concat-stream/index.js:36:43)
    at emitNone (events.js:110:20)
    at ConcatStream.emit (events.js:207:7)
    at finishMaybe (/usr/lib/node_modules/npm-package-downloader/node_modules/download/node_modules/readable-stream/lib/_stream_writable.js:607:14)
    at endWritable (/usr/lib/node_modules/npm-package-downloader/node_modules/download/node_modules/readable-stream/lib/_stream_writable.js:615:3)
    at ConcatStream.Writable.end (/usr/lib/node_modules/npm-package-downloader/node_modules/download/node_modules/readable-stream/lib/_stream_writable.js:571:41)
    at DuplexWrapper.onend (/usr/lib/node_modules/npm-package-downloader/node_modules/download/node_modules/readable-stream/lib/_stream_readable.js:570:10)
    at Object.onceWrapper (events.js:314:30)
    at emitNone (events.js:110:20)
    at DuplexWrapper.emit (events.js:207:7)
    at endReadableNT (/usr/lib/node_modules/npm-package-downloader/node_modules/download/node_modules/readable-stream/lib/_stream_readable.js:992:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.