[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: 'package.loaders' must be a table???
- From: Diego Nehab <diego@...>
- Date: Thu, 14 Sep 2006 13:07:15 -0400 (EDT)
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