Build android only working correcly on linux, windows doesn't fill www folder and app says it can't connect to localhost

So basically I’m doing a multi-app project with Ionic 4 and angular, and I’ve got a problem, when I do “ionic cordova build android” on windows the app says it can’t connect to localhost when I open it, but when I build it on linux it works fine. I’ve noticed that on windows it doesn’t populate the www folder, whilst on linux it does, I do work on windows so I really need it to work there.

Has anyone had this problem or know how to fix?