Can i add event listeners to groups ?

I want to add an event listener to a group that is returned from outside the file and is required like so: 

local groupThatIwantToAddEvent = require("script") 

and then i want to add event listener, but it gives me this error:

?:0: attempt  to call method 'respondsToEvent' (a nil value) stack traceback: ....  

Thanks for help !

error you have says that there is no respondsToEvent() function

In script.lua, do you have local M = display.newGroup() at top and return M at bottom?

Maybe show a bit more code? 

error you have says that there is no respondsToEvent() function

In script.lua, do you have local M = display.newGroup() at top and return M at bottom?

Maybe show a bit more code?