1

我有一台 Windows 7 / 64 位机器,并且正在尝试将基于 node.js 的项目部署到 nodejitsu。但它没有按预期工作,并因错误而崩溃:

Executing command deploy
info:    Welcome to Nodejitsu yourapp
info:    jitsu v0.13.15, node v0.11.10
info:    It worked if it ends with Nodejitsu ok
warn:    You are using unstable version of node.js. You may experience problems.
info:    Executing command deploy

c:\Users\User\AppData\Roaming\npm\node_modules\jitsu\lib\jitsu\package.js:248
      jitsu.log.warn(line);
                ^
TypeError: Cannot call method 'warn' of undefined
    at c:\Users\User\AppData\Roaming\npm\node_modules\jitsu\lib\jitsu\package.js:248:17
    at Array.forEach (native)
    at c:\Users\User\AppData\Roaming\npm\node_modules\jitsu\lib\jitsu\package.js:247:10
    at c:\Users\User\AppData\Roaming\npm\node_modules\jitsu\node_modules\flatiron\node_modules\broadway
\node_modules\utile\node_modules\async\lib\async.js:94:25
    at checkProperty (c:\Users\User\AppData\Roaming\npm\node_modules\jitsu\lib\jitsu\package.js:202:5)
    at c:\Users\User\AppData\Roaming\npm\node_modules\jitsu\node_modules\flatiron\node_modules\broadway
\node_modules\utile\node_modules\async\lib\async.js:86:13
    at Array.forEach (native)
    at _forEach (c:\Users\User\AppData\Roaming\npm\node_modules\jitsu\node_modules\flatiron\node_module
s\broadway\node_modules\utile\node_modules\async\lib\async.js:26:24)
    at Object.async.forEach (c:\Users\User\AppData\Roaming\npm\node_modules\jitsu\node_modules\flatiron
\node_modules\broadway\node_modules\utile\node_modules\async\lib\async.js:85:9)
    at Object.package.validate (c:\Users\User\AppData\Roaming\npm\node_modules\jitsu\lib\jitsu\package.
js:205:9)

那么那里的问题是什么以及如何解决呢?

4

0 回答 0