addentities not being read

So i figured out that my add entities is not correctly being seen or read, it gives the error: Trying to refresh - but couldn’t read file [gamemodes\DarkRP\gamemode\addentities.lua]
Any suggestions?

You’re updating it while the server is up, you gotta restart it after making changes.

Well i have a problem. all of my weapons that ares supposed to be assigned to jobs are available to buy as a citizen, i really need help i checked degug file after a restart and there are no errors

Make sure the file isn’t empty.