Nodejitsu说我的应用程序“不是节点应用程序” - 有没有一种特殊的方法来编写Nodejitsu部署的节点应用程序?

时间:2014-04-08 05:36:18

标签: node.js web-applications nodejitsu

我已经编写了一个节点应用,在本地工作正常,但当我尝试将其安装到nodejitsu时,我给出了回复:

C:\xampp\htdocs\officeball\node_scripts>jitsu install index_all.js
info:    Welcome to Nodejitsu jt0dd1995
info:    jitsu v0.13.9, node v0.10.23
info:    It worked if it ends with Nodejitsu ok
info:    Executing command install index_all.js
error:   Sorry, index_all.js is not a node app
error:   Error running command install index_all.js
help:    For help with this error contact Nodejitsu Support:
help:      webchat: <http://webchat.nodejitsu.com/>
help:          irc: <irc://chat.freenode.net/#nodejitsu>
help:        email: <support@nodejitsu.com>
help:
help:      Copy and paste this output to a gist (http://gist.github.com/)
info:    Nodejitsu not ok

C:\xampp\htdocs\officeball\node_scripts>

我是否需要编写节点应用程序以使其与nodejitsu一起使用?

Here's the app

1 个答案:

答案 0 :(得分:0)

尝试

  jitsu install

如果您有package.json个文件可以使用

相关问题