Requiring a Module from a folder in Replicated Storage

Hi,

I don’t know why but if I call a module script from within a folder in Replicated Storage Studio underlines in blue saying there is an error.

if I move the module script to the root of Replicated Storage the blue line disappears.

Both in a folder and not work with no errors, is this a Studio bug? or my code?

local TweenModule = require(game:GetService(“ReplicatedStorage”).Modules.TweenModule)

1 Like

It’s just Studio being buggy unfortunately. However they’re going about underlining supposed non-existing modules seems to be really unreliable currently.

1 Like

Got this issue yesterday.
All of my scripts requiring a certain module (Roact), just gave an error. Wasted an hour on the issue and after restarting studio a couple times the issue suddenly disappeared.
I have no clue what I did to fix it, but I’m glad the issue is gone.