Skip to content

Couldn't upload a buffer to firebase storage #8103

@EssaadaniYounes

Description

@EssaadaniYounes

Operating System

Window 10

Browser Version

Chrome

Firebase SDK Version

10.7.2

Firebase SDK Product:

Storage

Describe your project's tooling

ExpressJS with typescript and sharp

Describe the problem

I'm having a task as follow

  • You give the API a image URL you get this image URL data as ArrayBuffer using axios
  • Take the ArrayBuffer and pass it to sharp to resize the image
  • Store the result from sharp (a Buffer ) in firebase storage

Steps and code to reproduce issue

#Upload buffer to firebase storage

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions