Javascript file not found when html and js are in separate directories I’ve created a simple TS project with the following file structure: