无法在Azure网站上部署节点应用程序

时间:2016-03-01 10:27:48

标签: node.js azure azure-web-sites

我曾经不断部署的应用程序"突然"不再部署。 似乎KuduSync是罪魁祸首,因为/ repository与repo是最新的,但不是/ wwwroot。

我试图明显修改文件,更改package.json版本,更改节点版本。

这是完整的部署日志,即使更改了一些文件,也没有它们的痕迹。

2016-03-01T10:17:53  Updating submodules.
2016-03-01T10:17:54  Preparing deployment for commit id '005869b2f2'.
2016-03-01T10:17:55  Generating deployment script.
2016-03-01T10:17:55    Using cached version of deployment script (command: 'azure -y --no-dot-deployment -r "D:\home\site\repository" -o "D:\home\site\deployments\tools" --node -- sitePath "D:\home\site\repository"').
2016-03-01T10:17:55  Running deployment command...
2016-03-01T10:17:55    Command: "D:\home\site\deployments\tools\deploy.cmd"
2016-03-01T10:17:55    Handling node.js deployment.
2016-03-01T10:17:59    KuduSync.NET from: 'D:\home\site\repository' to: 'D:\home\site\wwwroot'
2016-03-01T10:17:59    The package.json file does not specify node.js engine version constraints.
2016-03-01T10:17:59    The node.js application will run with the default node.js version 5.7.0.
2016-03-01T10:17:59    Selected npm version 3.6.0
2016-03-01T10:18:37    Finished successfully.
2016-03-01T10:18:38  Running post deployment command(s)...
2016-03-01T10:18:38  Deployment successful.

以前有人遇到过这个吗?

1 个答案:

答案 0 :(得分:0)

嗯...断开并重新连接连续部署似乎解决了它。 ¯\ _(ツ)_ /¯