Azure Pipeline NPM构建失败了React
I have been stuck at this for a while now and similar issues don't seem to help.
In Azure DevOps, the pipeline fails at the npm build level.
Agent: macOS-10.15
Can someone help please.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
希望您使用最新的 macos-10.15 。如果不尝试使用 macos-10.15 或最新。
默认情况下,Azure DevOps升级了 nodejs 运行时,而无需通知任何人。如果您想升级 nodejs 请确保使用最新的nodejs 版本。这样它将与您的应用程序兼容。在Azure中,您必须指定最新版本,否则将使用默认版本
参考在这里有关更多信息
I hope you are using latest macOS-10.15. if not try to use macOS-10.15 or latest.
By default, Azure DevOps upgrade the Nodejs runtime without notifying anyone. If you are trying to upgrade the Nodejs Make sure to use the latest Nodejs version. so that it will be the compatible with your application. In azure you have to specify the recent latest version otherwise it will take the default version
Refer here for more information
对于任何寻求决议的人。
我设法通过创建新的YAML管道来解决我的问题,并出于某种原因奏效。
For anyone looking for a resolution.
I managed to fix my issue by creating a new YAML pipeline and for some reason this worked.