Infinite Yield Possible When Requiring Module
chrisjd20 opened this issue · 4 comments
chrisjd20 commented
So I just installed Nevermore using the following:
local h = game:GetService("HttpService") local e = h.HttpEnabled h.HttpEnabled = true loadstring(h:GetAsync("https://raw.githubusercontent.com/Quenty/NevermoreEngine/version2/Install.lua"))(e)
This worked great. I then attempted to use the usage example found here
I put this code at the top of a server script in ServerScriptService
:
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local LoadCustomLibrary = require(ReplicatedStorage:WaitForChild("Nevermore"))
This resulted in the following error in Roblox Studio:
18:40:08.835 Infinite yield possible on 'ServerScriptService:WaitForChild("Nevermore")' - Studio
18:40:08.835 Stack Begin - Studio
18:40:08.836 Script 'ReplicatedStorage.Nevermore', Line 76 - Studio - Nevermore:76
18:40:08.836 Stack End - Studio
Here is a screenshot of that helps:
chrisjd20 commented
chrisjd20 commented
howmanysmall commented
fixed it in #180
chrisjd20 commented
Hey great thanks!