Advertisement
Guest User

Corona Does Not Bundle Penlight Dependencies

a guest
May 21st, 2014
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.07 KB | None | 0 0
  1. local pl = require 'Penlight.lua.pl.import_into' ()
  2.  
  3. -- When trying the `require('path.to.file') approach, the initial module is included,
  4. -- but its dependencies (e.g. Penlight's Utils) aren't resolved...
  5. -- https://github.com/stevedonovan/Penlight/blob/1.3.1/lua/pl/import_into.lua#L33
  6. --
  7. -- <Warning>: Runtime error
  8. --  module 'pl.utils' not found:resource (pl.utils.lu) does not exist in archive
  9. --      no field package.preload['pl.utils']
  10. --      no file '/Users/name/Library/Application Support/iPhone Simulator/7.1/Applications/CEE02776-DBCD-43EC-8F2C-317A69C3D57B/My.app/pl.utils.lua'
  11. --      no file '/Users/name/Library/Application Support/iPhone Simulator/7.1/Applications/CEE02776-DBCD-43EC-8F2C-317A69C3D57B/My.app/pl.utils.lua'
  12. --      no file './pl.utils.so'
  13. --      no file '/Users/name/Library/Application Support/iPhone Simulator/7.1/Applications/CEE02776-DBCD-43EC-8F2C-317A69C3D57B/My.app/pl.utils.so'
  14. --      no file './pl.so'
  15. --      no file '/Users/name/Library/Application Support/iPhone Simulator/7.1/Applications/CEE02776-DBCD-43EC-8F2C-317A69C3D57B/My.app/pl.so'pl.utils
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement