sharepoint - Issue with Automatic Deploy of SPFx WebPart in Azure DevOps Pipeline - Stack Overflow

I'm trying to automate the deployment of an SPFx WebPart using an Azure DevOps pipeline. the issue

I'm trying to automate the deployment of an SPFx WebPart using an Azure DevOps pipeline. the issue occurs during the build process of the WebPart, where the gulp command is not found. The repository structure is as follows:

privacy-spfx

├── source-custom-webparts

└── source-shared-library

The current pipeline is structured as follows (YAML):

# Starter pipeline
trigger:
- develop-pipeline-azure

pool:
  vmImage: 'windows-latest'

variables:
- name: SPFxAppId
  value: 'xxxxx-xxx-xxx-xxx-xxxxxxxx'

stages:

- stage: CompileProject
  displayName: 'Compile Project'
  jobs:
  - job: SetupNodeJob
steps:
- task: NodeTool@0
  inputs:
    versionSpec: '14.18.3'
  displayName: '

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1743761972a4502798.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信