I am running the installer from command and I am getting an error while it tried to save to the optional mod list
It tries to write to a folder that doesn't exist yet.
java -jar forge-1.11-13.19.1.2189-installer.jar.r --installServer
Saving optional modlist to: ./mods/mod_list.json
java.io.FileNotFoundException: ./mods/mod_list.json (No such file or directory)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at com.google.common.io.Files$FileByteSink.openStream(Files.java:223)
at com.google.common.io.Files$FileByteSink.openStream(Files.java:211)
at com.google.common.io.ByteSink$AsCharSink.openStream(ByteSink.java:136)
at com.google.common.io.CharSink.write(CharSink.java:86)
at com.google.common.io.Files.write(Files.java:467)
at net.minecraftforge.installer.OptionalLibrary.saveModListJson(OptionalLibrary.java:98)
at net.minecraftforge.installer.ServerInstall.run(ServerInstall.java:97)
at net.minecraftforge.installer.InstallerAction.run(InstallerAction.java:43)
at net.minecraftforge.installer.SimpleInstaller.handleOptions(SimpleInstaller.java:72)
at net.minecraftforge.installer.SimpleInstaller.main(SimpleInstaller.java:47)
There was an error during server installation