Fix npm require in file-uploader package