【发布时间】:2014-05-20 15:17:09
【问题描述】:
我已经编写了一个 node 应用程序,它在本地对我来说很好,但是当我尝试将它安装到 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 一起工作吗?
【问题讨论】:
-
您可能需要在与您的应用程序相同的目录中有一个 package.json 文件,以便 jitsu 命令行程序确定您的应用程序的名称和其他属性。 package.json.nodejitsu.com
标签: node.js web-applications nodejitsu