简体   繁体   English

在Windows Azure中,我可以使用Dropbox部署node.js服务器吗?

[英]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.

相关问题 是否可以仅通过复制文件在Azure节点应用服务器上部署node.js? - Can I deploy node.js on Azure node app server by just copying files? 将 node.js 服务器和 angular 应用程序部署到 azure Z2567A5EC9705EB7AC2C984033E068 服务 - Deploy node.js server and angular app to azure web service 如何将 Node.JS 服务器部署到 Microsoft Azure 并使用 github 存储源代码? - How to deploy a Node.JS server to Microsoft Azure and using github to store source code? 我可以使用 node.js SDK 过滤 Azure ServiceBusService 吗? - Can I filter an Azure ServiceBusService using node.js SDK? 如何使用 Node.JS 在 windows 服务器上部署 ReactJS web 应用程序? - How to deploy ReactJS web application on a windows server using Node.JS? 当应用程序在子文件夹中时,如何通过git将node.js应用程序部署到azure? - How can I deploy a node.js app to azure via git when the app is in a subfolder? 使用PM2,如何将node.js应用程序部署到同一服务器上的多个环境和端口? - Using PM2, how can I deploy my node.js app to multiple environments and ports on the same server? 使用Azure资源管理器部署Node.js网站 - Deploy a node.js site using Azure Resource Manager 我可以在 Windows 中使用命令行升级 Node.js 吗? - Can I upgrade Node.js using command line in Windows? 将Dropbox API与Node.js结合使用 - Using Dropbox API with Node.js
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM