问下Mac 下出现一下问题
发布于 9 年前 作者 suoutsky 4014 次浏览 最后一次编辑是 8 年前 来自 问答

$ node SyntaxError: Unexpected identifier at Object.exports.createScript (vm.js:24:10) at REPLServer.defaultEval (repl.js:137:25) at bound (domain.js:250:14) at REPLServer.runBound [as eval] (domain.js:263:12) at REPLServer.<anonymous> (repl.js:393:12) at emitOne (events.js:82:20) at REPLServer.emit (events.js:169:7) at REPLServer.Interface._onLine (readline.js:210:10) at REPLServer.Interface._line (readline.js:549:8) at REPLServer.Interface._ttyWrite (readline.js:826:14)

console.log(‘Hello World’); … Hello World … undefined

回到顶部