Azure Node.js Web应用程序(Linux)构建&部署问题

时间:2018-01-03 21:24:58

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

我创建了一个Azure网络应用程序,它将是我的node.js服务托管的地方。

我试图设置一个在Linux(不是Windows)下运行的Node.js应用程序。 长话短说......持续交付(CI)因错误而失败:'

Failed to deploy web package to App Service.
Error: Error: Could not find the End of Central Directory Record

构建定义如下所示:

1. Use Node version (Node Tool installer)
2. npm install
3. Run gulp task (this basically does nothing right now).

发布定义如下所示:

Tasks -> Phase1 -> Deploy Azure App Service

现在,我的理解是,对于Linux机器上的node.js部署,不应压缩包。所以我删除了zip配置,只需将其替换为 $(System.DefaultWorkingDirectory)

请帮我解决这些与CI相关的错误。我已经快要耐心了。

=============关闭===============

I finally got my app running (very intuitively might i add) by configuring it on Windows OS (instead of Linux OS). I was really set on having it run on Linux, but it turned out to be a walk thru a mine field. 

0 个答案:

没有答案