Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Error message when using .default method of the optimist library.
throw new Error(str);
Error: Parse error on line 9:
...), args = optimist.default('port', 8082
at Object.parseError (/usr/local/lib/node_modules/tamejs/lib/parser.js:276:11)
at Object.parse (/usr/local/lib/node_modules/tamejs/lib/parser.js:352:22)
at Engine.parse (/usr/local/lib/node_modules/tamejs/lib/engine.js:396:19)
at /usr/local/lib/node_modules/tamejs/lib/main.js:198:9
at /usr/local/lib/node_modules/tamejs/lib/engine.js:362:6
at [object Object].<anonymous> (fs.js:107:5)
at [object Object].emit (events.js:61:17)
at afterRead (fs.js:878:12)
at wrapper (fs.js:245:17)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment