Topic on Talk:Offline content generator

Any plans on fluffing up installation instructions?

4
Summary by Cscott

Moved discussion to other thread.

Kghbln (talkcontribs)

It looks like this is the way to go. These instructions however fail as cheerful as these on a debian 8. I am a bit lost? Example when trying to run ./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

I guess it will be nice to use this instead of mwlib since I believe that a lot of effort has been put into this software.

I have added a more verbose version on how I got here at this spot.

Cscott (talkcontribs)

Could you paste the contents of your localsettings.js? Something is probably wrong there.

Kghbln (talkcontribs)

I really should refrain from cross-posting and it probably was the result of this utter disappointment I encountered when trying to follow the current instructions. I figured to install OCG should not be worse to achieve that mwlib but the opposite seems to be the case. This post is basically about getting some human readable instructions. To cut it short, I answered on the linked thread.

Cscott (talkcontribs)

Ok, I will respond at the other thread.