Open
Description
I have the following task:
- task: PublishAzureDevOpsExtension@4
displayName: 'Publishment}} Extension'
inputs:
connectedServiceName: 'someServiceName'
fileType: vsix
connectTo: VsTeam
vsixFile: $(Agent.BuildDirectory)/drop/dev/*.vsix
We are trying to publish a react js based custom extension to a private marketplace. However, we keep getting the following error message:
"error: TypeError: Cannot read properties of null (reading 'versions') "
I am trying to google the error message and most results are npm and react related build. However we have done the built successfully and produce the vsix file in the previous stage before executing the task above using the following azure devops steps:
- script: npm run build-and-package
displayName: 'Building and Packing extension'
- task: CopyFiles@2
displayName: Copy vsix files
inputs:
sourceFolder: $(Build.SourcesDirectory)/out
contents: |
**/*.vsix
targetFolder: '$(Build.ArtifactStagingDirectory)'
Any clues the source of the issue for the "error: TypeError: Cannot read properties of null (reading 'versions') " error message? thanks!