简体   繁体   中英

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 has a nifty feature where you can link a Dropbox folder to an Azure web site for very simple deployments. Works awesome for websites, but I was hoping it might work for node.js deployments as well.

It doesn't seem to work- the deployment process goes fine, but navigating to the URL of the node.js deployment produces this error:

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?

Many thanks-

UPDATE- Just ran through the deployment logs and found this line:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM