yarn command not found

2:46:20 PM: In build.command from netlify.toml: To obtain yarn logs for an application the 'yarn logs' command must be executed as the user that submitted the application. After installing yarn on my machine i noticed that the command was not found because the content was installed on C:\Program Files (x86)\Yarn\bin, but PATH was set to be under User AppData folder, manually setting the environment variable fixed the issue. Running this command will list environment variables available to the scripts at runtime. } 2:46:15 PM: npm WARN <@>material-ui/core<@>4.11.0 requires a peer of react<@>^16.8.0 but none is installed. This is described in issue yarnpkg#904 . yarn publish [tag] yarn run