NevermoreEngine errors whenever I try using a module
Hoidberg opened this issue · 11 comments
Hoidberg commented
Whenever I try using a module I get this error:
ReplicatedStorage.Nevermore.ModuleScriptLoader:66: Error: Library 'ScrollingFrame' does not exist
howmanysmall commented
I'll take a look. What's the code that is erroring? What module are you trying to load?
Hoidberg commented
ScrollingFrame
Hoidberg commented
I was trying to test one of the examples
Hoidberg commented
Here it is:
local require = require(game:GetService("ReplicatedStorage"):WaitForChild("Nevermore"))
local ScrollingFrame = require("ScrollingFrame")
local Scrollbar = require("Scrollbar")
local scrollingFrame = ScrollingFrame.new(script.Parent)
scrollingFrame:AddScrollbar(Scrollbar.fromContainer(script.Parent.ScrollbarContainer))
howmanysmall commented
Ah. You need to have a script on the server requiring Nevermore first.
require(game:GetService("ReplicatedStorage"):WaitForChild("Nevermore"))
Also - there's no need to use the ScrollingFrame module anymore. Its main thing was adding inertia to the ScrollingFrame, but Roblox made that a feature of them on all platforms.
Hoidberg commented
But it errors for all libraries
howmanysmall commented
Did you require Nevermore on the server?
Hoidberg commented
no 🤦♂️
howmanysmall commented
It's okay, I forget to do that too sometimes. Don't let it get to you. :P
Hoidberg commented
Thanks
howmanysmall commented
No problem. You can close it now.