[QUES] Problem with running a mod

So I’ve been trying to start with modding in Game Dev Tycoon, and created a .js file and a .json file.
when I’m trying to run the game, I get an error window:

After I hit “ok” the game runs normally, and I cannot see my mod in the mods list. any help?

There is a problem with you package.json file. Can you send me a copy of it in a pm so i can take a look at it??

{
“id” : “someid”,
“name” : “aname”,
“version” : “0.1.0”,
“author” : “Ripol”,
“description” : “Adding X”,
“url” : “http://www.example.com”,
“main” : “mods\MyMod\nameofjsfile.js”,
“toolbar”: “true”,
“dependencies” : {
“gdt-modAPI”:“0.1.x”
}
}

I changed the names.

You should change “main” : “mods\MyMod\nameofjsfile.js” into “main” : “./nameofjsfile.js” This should fix it ^^

1 Like