Page 1 of 1

I'm trying to host a server with mods but I get this error

PostPosted: Mon May 20, 2019 23:41
by DoggoDoggins
I'm trying to play Singleplayer and have even tried hosting my server, but I keep getting this error message. Can someone please help? It would be greatly appreciated, I really wanna play with my spicy new additions.

2019-05-20 16:28:29: ERROR[Main]: ModError: Failed to load and run script from C:\Users\Doggo\Desktop\minetest-5.0.1-win64\bin\..\mods\preview\init.lua:
2019-05-20 16:28:29: ERROR[Main]: cannot open preview:example.lua: No such file or directory
2019-05-20 16:28:29: ERROR[Main]: stack traceback:
2019-05-20 16:28:29: ERROR[Main]: [C]: in function 'dofile'
2019-05-20 16:28:29: ERROR[Main]: ...esktop\minetest-5.0.1-win64\bin\..\mods\preview\init.lua:5: in main chunk

Re: I'm trying to host a server with mods but I get this err

PostPosted: Sat May 25, 2019 23:32
by durtective6
Based off of a similar error I got from copying the preview file from \clientmods to \mods and the paths you've specified, do you have the "preview" folder in your \mods path in the root directory of the game? If so try removing it if you're still having this problem.

Re: I'm trying to host a server with mods but I get this err

PostPosted: Tue May 28, 2019 14:48
by Joseph16
If it is a modpack with multiple mods inside make sure there is a modpack.txt file. If this is the case you will usually get
ERROR[Main]: cannot open preview:initlua: No such file or directory.

Re: I'm trying to host a server with mods but I get this err

PostPosted: Tue May 28, 2019 22:08
by Festus1965
DoggoDoggins wrote:2019-05-20 16:28:29: ERROR[Main]: cannot open preview:example.lua: No such file or directory


are you sure that file example.lua is there ? CHECK it !