Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax error with getpapers minimal usage #187

Open
mtdunstan opened this issue Jul 7, 2020 · 1 comment
Open

Syntax error with getpapers minimal usage #187

mtdunstan opened this issue Jul 7, 2020 · 1 comment

Comments

@mtdunstan
Copy link

I tried to follow the example of the previous issue, installation of getpapers with nvm seemed to work well (with the depreciated errors noted before).

Minimal example:

Matthews-MBP-5:getpapers matthew$ getpapers -q covid -o covid

gives

/Users/matthew/.nvm/v0.10.38/lib/node_modules/getpapers/lib/eupmc.js:43
    fs.readFile('eupmc_results.json', (err, data) => {
                                                   ^
SyntaxError: Unexpected token >
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/Users/matthew/.nvm/v0.10.38/lib/node_modules/getpapers/lib/api.js:1:75)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)

Is it an issue with my installation?

@petermr
Copy link
Member

petermr commented Jul 7, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants