我尝试了jake和launch一点,但是当我想部署我的 node.js 应用程序时,我在此过程中得到了这个:
$ ssh mydomain.com sudo stop site.WebApp-production && sudo start site.WebApp-production
sudo: no tty present and no askpass program specified
✘ Failed to restart site
jake aborted.
Error
at fail (/usr/local/lib/node_modules/jake/lib/api.js:235:13)
at /Users/udo/Projects/WebApp/Jakefile.coffee:31:16
at ChildProcess.exports.remote (/Users/udo/Projects/WebApp/node_modules/launch/lib/action.js:39:5)
at ChildProcess.EventEmitter.emit (events.js:91:17)
at Process._handle.onexit (child_process.js:674:10)
你知道如何摆脱这个吗?我在远程机器上使用 Debian 6。
谢谢