cd /.../extensions/Collection git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Collection/OfflineContentGenerator.git cd OfflineContentGenerator npm install -g node-gyp npm install
Created localsettings.js
./mw-ocg-service.js -c localsettings.js /.../w/extensions/Collection/OfflineContentGenerator/lib/cli.js:33 config = require(configFile)(config) || config; ^ TypeError: object is not a function at Object.exports.parseConfig (/.../w/extensions/Collection/OfflineContentGenerator/lib/cli.js:33:31) at Object.<anonymous> (/.../w/extensions/Collection/OfflineContentGenerator/mw-ocg-service.js:46:18) at Module._compile (module.js:456:26) 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 Function.Module.runMain (module.js:497:10) at startup (node.js:119:16) at node.js:906:3