我刚刚获得了 nodejitsu beta 激活,我正在尝试从 nodejitsy 手册中编写 hello world 示例,但是当我运行 jitsu deploy 时,它会抛出这个:
prompt: App name: (myapp)
subdomain: (omarloren1.myapp)
prompt: scripts.start: (server.js)
error: Unable to add properties to package description
error: [TypeError: Object function (script) {
//
// Support `scripts.start` starting with executable (`node` or `coffee`).
//
var split = script.split(' ');
if (~['node', 'coffee'].indexOf(split[0])) {
script = split.slice(1).join(' ');
}
try {
fs.statSync(path.join(dir, script));
return true;
}
catch (ex) {
return false;
}
} has no method 'test']
error: TypeError: Object function (script) {
//
// Support `scripts.start` starting with executable (`node` or `coffee`).
//
var split = script.split(' ');
if (~['node', 'coffee'].indexOf(split[0])) {
script = split.slice(1).join(' ');
}
try {
fs.statSync(path.join(dir, script));
return true;
}
catch (ex) {
return false;
}
} has no method 'test'
error: Error running command deploy
我正在运行节点 v0.8.1 和 jitsu v0.9.1
我不知道发生了什么:{