In my strict module script, I write:
for _, skillName in ipairs(config.skills) do
local skillClass = require(ReplicatedStorage.Skills:FindFirstChild(skillName, true))
local skillConfig = SkillConfig[skillName]
local skillObject = skillClass.new(self, skillConfig)
table.insert(self.skills, skillObject)
end
And I get the error Unknown require: unsupported path at require(ReplicatedStorage.Skills:FindFirstChild(skillName, true)) despite it working properly and giving me the correct result every time.
Here is what the actual files (inside of the ReplicatedStorage) look like:

It doesn’t impede my game, but can this error be removed?