lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

I started upgrading my engine to Lua 5.1.  No major problems until I
tried a require inside of one of my scripts.  Now I get the error
"'package.loaders' must be a table" when I try and use require.  I hit
the book, but only found reference to package.loaded, package.preload,
and package.path.  Can someone tell me what I've done wrong to break
the require function?

Hmmm. I don't know, but are you still using Compat-5.1, by
accident?

Regards,
Diego.