Haxelib isn't installing packages

Hi, I’m new here. I have haxe installed on Linux Mint 19.3, and it isn’t installing packages correctly. The first mistake I made was to set haxelib to use a directory that didn’t exist. When I wasn’t created, I tried mkdir ~/haxelib, then installing some packages.

No files were actually written to that folder, so I made another one and tried again. No luck. I tried changing permissions for that folder, and there are still no files in it. Please help.

You can check/fix the path in this file: “~/.haxelib”