admin管理员组

文章数量:1345393

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: '

本文标签: sharepointIssue with Automatic Deploy of SPFx WebPart in Azure DevOps PipelineStack Overflow