You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I'm currently working on a Flutter project using Azure Pipelines and the Flutter Install Task created on this repo and it was working as usual until a couple of days ago.
It happens that the used Node version of the Install task (version 10) is considered End-of-life (deprecated) now and should be updated to Node 20. The fact that version 10 is deprecated now makes all pipelines with the Flutter Install Task fail, as you can see in the logs bellow.
Could you please update the Node version to avoid pipeline breaks?
Thanks in advance.
##[warning]Task 'Flutter Install Task' version 0 (FlutterInstall@0) is dependent on a Node version (10) that is end-of-life. Contact the extension owner for an updated version of the task. Task maintainers should review Node upgrade guidance: https://aka.ms/node-runner-guidance
##[error]Object reference not set to an instance of an object.
##[debug]System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.VisualStudio.Services.Agent.Worker.TaskManager.CheckIfTaskNodeRunnerIsDeprecated(IExecutionContext executionContext, TaskStepDefinitionReference task) in /Users/runner/work/1/s/src/Agent.Worker/TaskManager.cs:line 382
at Microsoft.VisualStudio.Services.Agent.Worker.TaskManager.DownloadAsync(IExecutionContext executionContext, IEnumerable`1 steps) in /Users/runner/work/1/s/src/Agent.Worker/TaskManager.cs:line 100
at Microsoft.VisualStudio.Services.Agent.Worker.JobExtension.InitializeJob(IExecutionContext jobContext, AgentJobRequestMessage message) in /Users/runner/work/1/s/src/Agent.Worker/JobExtension.cs:line 140
The text was updated successfully, but these errors were encountered:
I was just doing some research on the repo and I found out that the Flutter Build Task (which I also use) is using Node 10 as well, so I think all tasks with Node 10 should be updated to Node 20, not only the Install Task.
LucasRohr
changed the title
Deprecated Node version on Flutter Install Task
End-of-life Node version on Flutter Install Task
Aug 27, 2024
@LucasRohr, I have updated the version from 0.3.18 to 0.4.0 to denote major changes. If previous version of this extension is needed then you download it from releases.
Please let me know if everything works fine by closing this issue, thanks
Hey, I'm currently working on a Flutter project using Azure Pipelines and the Flutter Install Task created on this repo and it was working as usual until a couple of days ago.
It happens that the used Node version of the Install task (version 10) is considered End-of-life (deprecated) now and should be updated to Node 20. The fact that version 10 is deprecated now makes all pipelines with the Flutter Install Task fail, as you can see in the logs bellow.
Could you please update the Node version to avoid pipeline breaks?
Thanks in advance.
The text was updated successfully, but these errors were encountered: