Created
October 7, 2011 14:42
-
-
Save xaptronic/1270412 to your computer and use it in GitHub Desktop.
Error message when using .default method of the optimist library.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/local/lib/node_modules/tamejs/lib/parser.js:276 | |
throw new Error(str); | |
^ | |
Error: Parse error on line 9: | |
...), args = optimist.default('port', 8082 | |
----------------------^ | |
Expecting 'QUOTE1', 'QUOTE2', 'LABEL', 'LPAREN', 'RPAREN', 'LBRACKET', 'RBRACKET', 'LBRACE', 'RBRACE', 'GENERIC', 'COMMA', 'DOT', 'COLON', 'ID', 'DECIMAL', 'THIS', 'DEFER', 'SEMICOLON', 'FUNCTION' | |
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