[英]With Windows Azure, can I deploy a node.js server using Dropbox?
There are several tutorials on Azure showing how to deploy a node.js server using git. Azure上有几本教程 ,展示了如何使用git部署node.js服务器。 Azure has a nifty feature where you can link a Dropbox folder to an Azure web site for very simple deployments.
Azure具有一个漂亮的功能,您可以将Dropbox文件夹链接到Azure网站,以进行非常简单的部署。 Works awesome for websites, but I was hoping it might work for node.js deployments as well.
对于网站来说很棒,但是我希望它也可以对node.js部署起作用。
It doesn't seem to work- the deployment process goes fine, but navigating to the URL of the node.js deployment produces this error: 它似乎不起作用-部署过程正常,但是导航到node.js部署的URL会产生以下错误:
The page cannot be displayed because an internal server error has occurred.
Anyone know if it's possible to deploy a node.js server to Windows Azure via Dropbox? 有人知道是否可以通过Dropbox将node.js服务器部署到Windows Azure吗?
Many thanks- 非常感谢-
UPDATE- Just ran through the deployment logs and found this line: UPDATE-刚浏览了部署日志并发现以下行:
The package.json file is not present.
The node.js application will run with the default node.js version 0.6.20.
Perhaps that it explains my problem? 也许这可以解释我的问题?
从控制台和文件夹中键入“ npm init”以生成package.json
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.