You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever i try to upload or download file i got this error.
../GoogleCloudStorage/node_modules/mime/mime.js:70
var ext = path.replace(/.*[\.\/\\]/, '').toLowerCase();
^
_TypeError: path.replace is not a function_
The text was updated successfully, but these errors were encountered:
I haven't been able to reproduce. Also, we don't use the module mime. Could this be coming from a line of code that wasn't in your example? If not, a simple reproducible sample repo would be great to help debug.
Another issue (#1445) popped up with this same error. We traced it back to an argument type mismatch. gcloud takes an object with either a keyFilename string or a credentials object. In #1445, an object was provided, but under the name keyFilename. String functions were trying to be called on that object, which is what threw the error. Naming it credentials instead solved the problem.
Whenever i try to upload or download file i got this error.
The text was updated successfully, but these errors were encountered: