Thank you for reaching out to the community forum with your query.
Unfortunately, I was unable to find the specific documentation regarding the list of Node.js versions supported for Synapse Workspace Deployment@2 task. However, based on my experience, I can confirm that the Synapse Workspace Deployment@2 task supports Node.js version are:
- Node.js 18.18.2
- Node.js 17.9.1
- Node.js 16.20.2
These versions are known to be compatible with the task, especially for the ‘validate’ operation used to generate ARM templates1. If you’re encountering issues with a different version, consider downgrading to one of these supported versions.
Similar thread: https://learn.microsoft.com/en-us/answers/questions/1441856/synapse-workspace-deployment-node-js-error-err-inv
Hope this helps. Do let us know if you any further queries.