The require is wrong, and the order of arguments for setting a provider is wrong.
Attach a file by drag & drop or click to upload