From my experience working with SVGs converting them to PNG, doesn’t maintain quality of the image, you will probably end up with fuzzy images.
So my first question would be, have you done successful conversion?
I have used this package once to convert SVG to PNG.
const { convertFile} = require('convert-svg-to-png');
(async() => {
const inputFilePath = '/path/to/my-image.svg';
const outputFilePath = await convertFile(inputFilePath);
console.log(outputFilePath);
//=> "/path/to/my-image.png"
// upload to S3
})();