Forum Discussion
Pranav_Ghosh
Feb 12, 2024Copper Contributor
Ionic command task missing
Has any one encountered this error this morning. This was working fine till Friday.
Our pipeline has stopped working and not able to find the ionic command task.
"A task is missing. The pipeline references a task called 'IonicCommand'. This usually indicates the task isn't installed, and you may be able to install it from the Marketplace: https://marketplace.visualstudio.com. (Task version 1, j)"
1 Reply
Sort By
Believed it was either not installed or has been removed from your Azure DevOps environment. This can happen due to updates, changes in permissions, or accidental removal.
Please try to fix it by the following:
- Verify Task Availability
- Go to the Azure DevOps Marketplace and search for the IonicCommand task.
- If it's available, install or re-install the task to your organization.
- Check Pipeline Configuration
- Open the pipeline YAML file or the classic editor.
- Ensure the task reference is correct:
- task: IonicCommand@1 inputs: ionicCommand: 'build' ionicVersion: 'latest'
- Verify that the task version (@1) matches the installed version.
- Update Agent Capabilities
- If you're using a self-hosted agent, ensure the required dependencies (e.g., Ionic CLI) are installed on the agent machine.
- Update the agent capabilities to include the path to the Ionic CLI.
- Use a Custom Command
- If the task is unavailable, you can replace it with a custom script:
- script: | npm install -g @ionic/cli ionic build displayName: 'Run Ionic Build'
- Check for Recent Changes
- Review any recent updates or changes in your Azure DevOps environment that might have impacted the task.