Don’t build the web client side app on windows.This post should be your reference : Running Mattermost On Windows