robbestad/Rantjs

Cannot find module 'en_US'

Closed this issue · 1 comments

When I attempt to use any of the repeat syntax ([rep:3]), I receive this error:

Error: Cannot find module 'en_US'
  at Function.Module._resolveFilename (module.js:338:15)
  at Function.Module._load (module.js:280:25)
  at Module.require (module.js:364:17)
  at require (module.js:380:17)
  at braceParser (/Users/brekk/Servers/test/node_modules/rantjs/braceParser.js:43:17)

My example code:

var rant = require('rantjs');
var x = rant('[rep:8]{<adj nsfw>}');

Yep, can confirm this. I published a new build on NPM now (0.9.2) which takes care of this!