Closed ChrisJan00 closed 9 years ago
Yes, I could fix the error in my machine by manually creating said directory and file, with the contents:
{
"installDir": "/DIRECTORY/WHERE/HFT/WAS/CLONED"
}
(of course, with the proper path in there)
I think hft init
might also have fixed it?
No, doh! I'll look into it
oh! well, then this line is missing in the instructions :)
btw: I had trouble installing games, and after some testing I found that the cause was that I was missing yet another property in my manual config.json: "gamesDir" (where to install the games, basically). Now it works alright.
The error message from hft was that "could not parse package.json", which was a bit misleading since the problem was not in the downloaded game but in my config file.
Okay, updated the instructions. it was missing
cd <path/to/cloned/dir>
./cli/hft.js init
which writes the config files. There's more than one file. you might want to try it see if it fixes your game download issues
That worked alright. Thank you!
I followed the instructions from http://docs.happyfuntimes.net/docs/linux.html
All seemed to work until I run the last step:
Apparently it's looking for a config file in
but this directory does not exist, nor the file. Thus getHftInstallDir() in hft-config.js is throwing an exception and returning "undefined".
Probably the problem would be solved with one more step in the instructions for creating the missing directory + config file.