re: Build a simple app using Node JS and MySQL. VIEW POST

TOP OF THREAD FULL DISCUSSION
re: there are no differences. the files are identical. the files are created but 0 bytes. Any suggestions?

I have no suggestions yet, but is it working?

Following the post of Al-mck....

I change the first line by :
fs.writeFile(public/assets/img/${image_name},uploadedFile.data, function (err) {...

and now it's working fine.

Best Rgs.

code of conduct - report abuse