Runtime Error

I’m getting the following error:

The file “/public/data/ambassadors.json” cannot be found (imported in “/app/embajadores/[influencer]/page”). Make sure the file or alias exists in the correct location.

———————-
The file “/public/data/ambassadors.json” exists and is valid. The downloaded .zip compiles normally and works ok.

Can you share the code that imports this file? And have you written the code yourself or had the v0 agent added this line of import?

The v0 agent wrote the code:

import ambassadorsData from “@/public/data/ambassadors.json”

Is the path of the file you’re storing relevant to your project? Is it okay if you change the path of the file to somewhere within the src directory in another “data” folder?