Can't run the Solana Boiler plate github

ERROR: rustc -vV didn’t have a line for host:, got:

I get this error when running the command npm run build:program-rust

The code is the template helllo world example template provided by solana on github: GitHub - solana-labs/example-helloworld: Hello world on Solana