DEV Community

Discussion on: Build a simple app using Node JS and MySQL.

Collapse
 
fzkd554m profile image
Marco

Hi Atauba!
Great guide, very good!
I have this error:
{"errno":-4058,"code":"ENOENT","syscall":"open","path":"C:\WebTest\public\assets\img\photo1.jpeg"}
when I add new PLAYER.
In img folder I've copied three photo .jpeg
Where is the problem?

Collapse
 
fzkd554m profile image
Marco

Acc..
I found the error, sorry...

Collapse
 
amirfs profile image
amir

i have same problem how you fixed it? i have checked every things

Thread Thread
 
amirfs profile image
amir

my problem solved

Collapse
 
mohamadalibrahim profile image
mohamad-alibrahim

can you please write the fixing?

Thread Thread
 
m23leung profile image
Mark Leung

U need to create the public/assets/img folder path. Just create the folder structure. Then, the error should go away.