Azure Devops NodeTool@0 is deprecated.
If you’re running Azure Pipelines and suddenly see this warning:
##[warning]Task 'Node.js tool installer' version 0 (NodeTool@0) is deprecated.
##[warning]This task is deprecated and will no longer receive updates. Please use UseNodeV1 as a replacement.
You’re not alone. Let’s break down what’s happening, why it matters, and how to fix it.
What’s going on?
Azure DevOps pipelines use predefined tasks to install and manage tooling like Node.js. Historically, this was done using:
- task: NodeTool@0
displayName: 'use node 18'
inputs:
versionSpec: '18.x'
How to fix it
Replace the deprecated (0) task with the newer one (1).
- task: NodeTool@1
displayName: 'use node 24'
inputs:
version: '24.x'
Also update versionSpec to version.