npmpackagedownloader's People
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
Can't download packages.
Solved.
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.
unable to download packages with '/' in the name
I am facing difficulty in downloading the package which has '/' in the name for example "angular/common" npmdownloader is not able to find the package
error: ParseError: Unexpected token '<' at 1:1 in http://registry.npmjs.org/@angular%2fcommon Was unable to find package: @angular%2fcommon
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,
Cannot use custom registry
Registry url is hardcoded in npmApi.js, so no npmrc or --registry can be used
`return util.format("https://registry.npmjs.org/%s/-/%s-%s.tgz", name.replace('%2f', '/'), nameUtils.unscopeName(name), version);
return util.format("https://registry.npmjs.org/%s/", name.replace('/', '%2f'));`
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
Cannot use npm package without internet
Hello. I downloaded mysql package with NpmPackageDownloader, but still i cannot use it without internet. What should i do?
Multiple packages must be surrounded by quotes or only the first is downloaded
Tried playing with commander a bit to make it work without quotes but no sigar. You should either make it work or mention this in the help text.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.