Step 1: Installing nodeJS. From the downloads page, the latest version nvm-setup.zip is downloaded. The latest version is 1.1.7. The file is uzipped and the included installer is run. This step runs smoothly.
Step 2: installing node. This is done by running nvm install 7. The output for this is:
C:\Users\amit>nvm install 7
Downloading node.js version 7.10.1 (64-bit)...
Complete
Creating C:\Users\amit\AppData\Roaming\nvm\temp
Downloading npm version 4.2.0... Complete
Installing npm v4.2.0...
Installation complete. If you want to use this version, type
nvm use 7.10.1
Next, we issue the command nvm use 7. And it results in the following error message:
C:\Users\amit>nvm use 7
7.0.0
node v7.0.0 (64-bit) is not installed.
This is because we have to issue the command nvm use 7.10.1 instead of nvm use 7, as mentioned in the above Step 2 output. Doing so results in the smooth execution of the command and the output is:
C:\Users\amit>nvm use 7.10.1
Now using node v7.10.1 (64-bit)
Step 3: installing getpapers. Issuing the command npm install --global getpapers installs getpapers, although there are some warnings. The output for this is:
Step 4: issuing command getpapers outputs the following:
C:\Users\amit>getpapers
Usage: getpapers [options]
Options:
-h, --help output usage information
-V, --version output the version number
-q, --query <query> search query (required)
-o, --outdir <path> output directory (required - will be created if not found)
--api <name> API to search [eupmc, crossref, ieee, arxiv] (default: eupmc)
-x, --xml download fulltext XMLs if available
-p, --pdf download fulltext PDFs if available
-s, --supp download supplementary files if available
-t, --minedterms download text-mined terms if available
-l, --loglevel <level> amount of information to log (silent, verbose, info*, data, warn, error, or debug)
-a, --all search all papers, not just open access
-n, --noexecute report how many results match the query, but don't actually download anything
-f, --logfile <filename> save log to specified file in output directory as well as printing to terminal
-k, --limit <int> limit the number of hits and downloads
--filter <filter object> filter by key value pair, passed straight to the crossref api only
-r, --restart restart file downloads after failure
Operating system: Windows 10
The installation steps were followed from contentmine/getpapers, which in turn refers to blahah/installing-node-tools for the initial steps.
Step 1: Installing nodeJS. From the downloads page, the latest version
nvm-setup.zip
is downloaded. The latest version is1.1.7
. The file is uzipped and the included installer is run. This step runs smoothly.Step 2: installing node. This is done by running
nvm install 7
. The output for this is:Next, we issue the command
nvm use 7
. And it results in the following error message:This is because we have to issue the command
nvm use 7.10.1
instead ofnvm use 7
, as mentioned in the above Step 2 output. Doing so results in the smooth execution of the command and the output is:Step 3: installing
getpapers
. Issuing the commandnpm install --global getpapers
installs getpapers, although there are some warnings. The output for this is:Step 4: issuing command
getpapers
outputs the following: