First of all, using pgAdmin4 directly from git repository is not a suggested way to use it.
With pgAdmin4 version 1.6, we have changed the way we bundle and serve the javascript and other static files. Refer steps in this email thread, if you still want to use it from git repository.