I am running Testcafe automation tests but getting error. Could you please help?

How do I mitigate this error?

npm WARN config global –global, –localare deprecated. Use–location=global instead.

Hi Tim,

You need to replace prefix -g by prefix --location=global in npm.cmd and npm file. It will be resolved.