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

FULL DISCUSSION
 

adding players is not working.It is not giving any error.
I tried to add player, once i open the add player page/form AND some player information it shows this after submitting
{
"errno":-2,
"code":"ENOENT",
"syscall":"open",
"path":"public/assets/img/user.png"
}
and when i went back to homepage no player is added.

 

This could be from the addPlayer.js function or the path to the store the image does not exist, kindly crosscheck and try again.

code of conduct - report abuse