Requiring custom lua modules

I’m trying to require custom LUA modules but I get an error. (i have never done lua before learning Nakama)

I join an image with all the details.

Thanks

The log output is cut off. Can you paste the full text, or link it in a gist?

Hi,

Here is the gist: https://gist.github.com/Mkarena/95ada0f74ac170c5b4635f802cb2e12b

Thanks

volumes:
 - ./:/nakama/data/modules

It’s possible that your data is mapping to a different location in the container than where you intend it. What’s making me think that is the path repeating nakama/data/modules/nakama/data/modules

Based on your structure, you might try:

volumes:
 - ./nakama/data:/nakama/data

This section here might help: https://heroiclabs.com/docs/install-docker-quickstart/#data

2 Likes

Thanks it works :slight_smile: