Azure Git部署失败 - Selectnodeversion.js [英] Azure Git Deployment Failing - Selectnodeversion.js
问题描述
命令:D:\home\site\deployments\tools\deploy.cmd
处理node.js部署。
KuduSync.NET从:'D:\home\site\repository'到:'D:\home\site\wwwroot'
网站部署期间发生错误。
undefined:5
<<<<<< HEAD
^
SyntaxError:意外令牌<
在Object.parse(本机)
在Object。< anonymous> (D:\Program Files(x86)\SiteExtensions\Kudu\28.30730.1063\bin\scripts\selectNodeVersion.js:119:44)
在Module._compile(module.js: 456:26)
在Object.Module._extensions..js(module.js:474:10)
在Module.load(module.js:356:32)
在函数。 Module._load(module.js:312:12)
在Function.Module.runMain(module.js:497:10)
启动时(node.js:119:16)
在node.js:906:3
任何帮助非常感谢,谢谢!
这听起来像是可能的Kudu问题(Azure中的git部署引擎)。如果您可以在 https://github.com/projectkudu/kudu 上打开问题,那将是最好的我们可以调查。
请附上有关您的回购的其他详细信息。如果您能够分享一个演示该问题的小型回购站,那将是理想的。谢谢!
I am having trouble deploying to azure through my git hosted on Azure, the build through JenkinsCI will pass fine but once it tries to deploy Azure throws this;
Command: "D:\home\site\deployments\tools\deploy.cmd"
Handling node.js deployment.
KuduSync.NET from: 'D:\home\site\repository' to: 'D:\home\site\wwwroot'
An error has occurred during web site deployment.
undefined:5
<<<<<<< HEAD
^
SyntaxError: Unexpected token <
at Object.parse (native)
at Object.<anonymous> (D:\Program Files (x86)\SiteExtensions\Kudu\28.30730.1063\bin\scripts\selectNodeVersion.js:119:44)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3
Any help is really appreciated, Thanks!
This sounds like a possible Kudu issue (the git deployment engine in Azure). It would be best if you can open an issue on https://github.com/projectkudu/kudu so we can investigate.
Please include additional details about your repo. If you are able to share a small repo that demonstrates the problem, it would be ideal. Thanks!
这篇关于Azure Git部署失败 - Selectnodeversion.js的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!