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

Post Reply
User avatar
DoggoDoggins
New member
Posts: 1
Joined: Mon May 20, 2019 23:36
IRC: Doggo Spring
In-game: DoggoDoggins
Location: Probably far away from yours.

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

by DoggoDoggins » Post

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
Honestly I'm just here for the free cake.

User avatar
durtective6
Member
Posts: 186
Joined: Sun Aug 12, 2012 14:19
In-game: derplez or BlockFrog
Location: a shed in the desert

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

by durtective6 » Post

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.

User avatar
Joseph16
Member
Posts: 310
Joined: Tue Dec 06, 2016 05:35
In-game: smb3

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

by Joseph16 » Post

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.
Testin' mines since 1989

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

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

by Festus1965 » Post

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 !
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests