Open nekromoff opened 7 years ago
it works for me when I do
package.path = package.path .. ";/<path_to_lua_file>/xmlSimple.lua"
local xml = require("xmlSimple.lua").newParser()
see https://stackoverflow.com/questions/11868847/lua-require-function-on-a-full-path-name
Error: main.lua:2: module 'xmlSimple.lua' not found: no field package.preload['xmlSimple.lua']