18F / fbopen

[DEPRECATED] An open API server, data import tools, and sample apps to help small businesses search for opportunities to work with the U.S. government.
Other
101 stars 45 forks source link

Issues setting up grants loader #170

Open jaibapna opened 9 years ago

jaibapna commented 9 years ago

We're trying to setup the grants.gov loader for the FBOpen site.

https://github.com/18F/fbopen/tree/master/loaders/grants.gov

First we ran "npm install" which ran successfully.

But we are running into an issue with the command below:

"FBOPEN_ROOT=/apps/fbopen FBOPEN_URI=localhost:9200 FBOPEN_INDEX=fbopen ./grants-nightly.sh"

Error we get:

Archive: /apps/fbopen/loaders/grants.gov/downloads/GrantsDBExtract20150312.zip module.js:338 throw err; ^ Error: Cannot find module 'string' at Function.Module._resolveFilename (module.js:336:15) at Function.Module._load (module.js:278:25) at Module.require (module.js:365:17) at require (module.js:384:17) at Object. (/apps/fbopen/loaders/common/tools.js:1:71)

We suspect the issue is with the nodejs version that we're using. Our nodejs version: 0.12.0 Our npm version: 2.7.1

What nodejs version should we be using? Any ideas on how to fix.

Thanks!