使用Windows Azure,我可以使用Dropbox部署node.js服务器吗?
有几个关于Azure的教程展示了如何使用git部署node.js服务器。 Azure有一个漂亮的function,您可以将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.
也许这说明了我的问题?
从控制台和文件夹中input“npm init”来生成package.json