module not found

Hi Guys,

Noob question here, hope there’s a simple answer.

This program was working yesterday but now, - the menu loads, then when I press play which calls -

storyboard.gotoScene( “game”, “slideLeft”, 400 )

I get this Runtime error 

Module ‘levels.lev1’ not found: Resource <levels.lev1>…does not exist in archive.

this relates to the following line in the game.lua file

local level = require (“levels.lev1”)

screen shot here:

https://docs.google.com/file/d/0BwUpzZwkg-ROT0ZWWVloWkhwbG8/edit?usp=sharing

The program cannot find the Lev1 file. I was having similar trouble loading some images from the images directory of the project. 

Am I missing something??

Just to say I have been looking at this problem for about 4 hours now and have tried a lot of things (forum suggestions etc…) 

I think its something with the setup of the project rather than syntax, I am working from a template. I have corona SDK and outlaw installed in c:\program files. (default locations)  Any suggestions welcome.

Here’s another screen shot with some more detail

https://docs.google.com/file/d/0BwUpzZwkg-ROUUtCVGJfM3NTeUE/edit?usp=sharing

UPDATE:

Ive solved this problem by deleting the images folder and re loading it as a new asset. Something fishy though, I hope this problem doesn’t  rear its head again. Important college project.

well when you do

require(“levels.lev1”)  it looks for a file named lev1.lua in a folder named levels that’s in the same folder as your main.lua.

well when you do

require(“levels.lev1”)  it looks for a file named lev1.lua in a folder named levels that’s in the same folder as your main.lua.