close
C:\Users\ㄌ\AppData\Roaming\Sublime Text 3\Packages\SublimeREPL\config\NodeJS

var rep = repl.start({ prompt: null, //'> ', source: null, //process.stdin, eval: null, //require('vm').runInThisContext, useGlobal: true, //false useColors: false });

改成

var rep = repl.start({
    prompt:    '> ', //null, 
    source:    null, //process.stdin,
    eval:      null, //require('vm').runInThisContext,
    useGlobal: true, //false
    useColors: false
});

遭遇

TypeError: "stringToWrite" argument must be a string
at REPLServer._writeToOutput (readline.js:245:11)
at REPLServer.Interface.prompt (readline.js:213:10)
at REPLServer.displayPrompt (repl.js:752:8)
at new REPLServer (repl.js:639:8)
at Object.exports.start (repl.js:656:14)
at C:\Users\synic1\AppData\Roaming\Sublime Text 3\Packages\SublimeREPL\config\NodeJS\repl.js:5:20
at Object.<anonymous> (C:\Users\synic1\AppData\Roaming\Sublime Text 3\Packages\SublimeREPL\config\NodeJS\repl.js:38:3)
at Module._compile (module.js:573:32)
at Object.Module._extensions..js (module.js:582:10)
at Module.load (module.js:490:32)

***Repl Closed***

 
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 學習程式 的頭像
    學習程式

    程式學習日記,如果我幫助了你請讓我知道

    學習程式 發表在 痞客邦 留言(0) 人氣()