node.js - 借助 Windows Azure,我可以使用 Dropbox 部署 Node.js 服务器吗?

标签 node.js azure dropbox

有几个tutorials在 Azure 上展示如何使用 git 部署 Node.js 服务器。 Azure 有一个很棒的功能,您可以将 Dropbox 文件夹链接到 Azure 网站,以进行非常简单的部署。对于网站来说效果很好,但我希望它也适用于 Node.js 部署。

它似乎不起作用 - 部署过程正常,但导航到 Node.js 部署的 URL 会产生此错误:

The page cannot be displayed because an internal server error has occurred.

有人知道是否可以通过 Dropbox 将 Node.js 服务器部署到 Windows Azure 吗?

非常感谢-

更新- 刚刚浏览了部署日志并发现了这一行:

The package.json file is not present.
The node.js application will run with the default node.js version 0.6.20.

也许这可以解释我的问题?

最佳答案

从控制台和文件夹中输入“npm init”以生成 package.json

关于node.js - 借助 Windows Azure,我可以使用 Dropbox 部署 Node.js 服务器吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16007122/

相关文章:

node.js - Node 类型意外标记 =>

node.js - 正确检索和显示来自 Mongoose/MongoDB .find 方法的数据

amazon-web-services - 是否有类似于 AWS Systems Manager Session Manager 的 Azure 服务?

android - 从 Dropbox 下载文件并保存到 SDCARD

git - 从 Dropbox checkout git repo

javascript - GraphQL Dataloader 事先不知道 key

javascript - 如何获取firebase id

Azure RM 端口转发

sql-server - 请解释一下 SQL Azure "master"数据库

python - 无法在 Dropbox 文件夹中执行 heroku 的 Python 教程