Vscode cannot build my project

Recently I moved my dev environment to macos m1 ,but to find the garmin plugin doesn't work anymore. When I was trying to build my project, a prompt below comed up.

Is there anyone encounterd similar situation and have a solution?