Skip to content

Amalgamtion of wesen1/LuaORM #11

Answered by siffiejoe
erichowey asked this question in Q&A
Discussion options

You must be logged in to vote

Hi!

This will be a tough one, because LuaORM very much depends on file paths derived from Lua module files.

Your amalg.cache file looks good, but it doesn't match with how LuaORM uses its modules. How did you generate it? By hand?!

[string "extensions.lua"]:36: module 'LuaORM/ORM' not found:

Basically, the module name (key in the cache) must be exactly the same as the argument to require in the source code of LuaORM, and the same as the module name in the error message. If LuaORM wants LuaORM/ORM, this is what must be in the cache, not LuaORM.ORM or even LuaORM.LuaORM.ORM. Most modules in the LuaORM source code are required this way. (For the record: you should not use directory separat…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@erichowey
Comment options

@siffiejoe
Comment options

@erichowey
Comment options

Answer selected by erichowey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants