If you try to require a module with a dot in the file name, the simulator throws this error like this one where I try to require ‘hello.world.lua’
[text]
Copyright © 2009-2011 A n s c a , I n c .
Version: 2.0.0
Build: 2011.630
The file sandbox for this project is located at the following folder:
(/Users/mugen/Library/Application Support/Corona Simulator/dotsinmodulename-4FBDED52EEFBB1357CBA23578FA389BF)
Runtime error
…na/support_spriteloq/brock/dotsinmodulename/main.lua:1: module ‘hello.world’ not found:resource (hello.world.lu) does not exist in archive
no field package.preload[‘hello.world’]
no file ‘/Users/mugen/Desktop/prog/corona/support_spriteloq/brock/dotsinmodulename/hello/world.lua’
no file ‘/Users/mugen/Desktop/prog/corona/CoronaSDK.630/Corona Simulator.app/Contents/Resources/hello/world.lua’
no file ‘/Users/mugen/Desktop/prog/corona/CoronaSDK.630/Corona Simulator.app/Contents/Resources/hello/world.blu’
no file ‘/Users/mugen/Desktop/prog/corona/CoronaSDK.630/Corona Simulator.app/Contents/Resources/hello.blu’
stack traceback:
[C]: ?
[C]: in function ‘require’
…na/support_spriteloq/brock/dotsinmodulename/main.lua:1: in main chunk
Runtime error: …na/support_spriteloq/brock/dotsinmodulename/main.lua:1: module ‘hello.world’ not found:resource (hello.world.lu) does not exist in archive
no field package.preload[‘hello.world’]
no file ‘/Users/mugen/Desktop/prog/corona/support_spriteloq/brock/dotsinmodulename/hello/world.lua’
no file ‘/Users/mugen/Desktop/prog/corona/CoronaSDK.630/Corona Simulator.app/Contents/Resources/hello/world.lua’
no file ‘/Users/mugen/Desktop/prog/corona/CoronaSDK.630/Corona Simulator.app/Contents/Resources/hello/world.blu’
no file ‘/Users/mugen/Desktop/prog/corona/CoronaSDK.630/Corona Simulator.app/Contents/Resources/hello.blu’
stack traceback:
[C]: ?
[C]: in function ‘require’
…na/support_spriteloq/brock/dotsinmodulename/main.lua:1: in main chunk
[/text] [import]uid: 27183 topic_id: 16021 reply_id: 316021[/import]