i require the co-prompt, but throw an error that say " SyntaxError: Unexpected identifier"
var prompt1 = require("co-prompt");var name = yield prompt1('username: ');
the error point to second prompt1
i have no idea to resovle it, could you give me the answer?
i require the co-prompt, but throw an error that say " SyntaxError: Unexpected identifier"
var prompt1 = require("co-prompt");
var name = yield prompt1('username: ');
the error point to second prompt1
i have no idea to resovle it, could you give me the answer?