Roblox / foreman

Toolchain manager for Roblox projects
MIT License
178 stars 26 forks source link

Foreman tools wont work. #58

Closed L3G5ND closed 2 years ago

L3G5ND commented 2 years ago

None of the tools I've installed work. Foreman runs perfectly fine. When I run foreman list, all of the tools show up. However when I type something like rojo --version, I get this error

rojo : The term 'rojo' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and 
try again.
At line:1 char:1
+ rojo
+ ~~~~
    + CategoryInfo          : ObjectNotFound: (rojo:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

#

forman.toml:

[tools]
rojo = { source = "rojo-rbx/rojo", version = "7.2.1" }
selene = { source = "Kampfkarren/selene", version = "0.21.1" }
stylua = { source = "JohnnyMorganz/StyLua", version = "0.14.3" }
wally = { source = "UpliftGames/wally", version = "0.3.1" }

foreman list:

Installed tools:
  rojo-rbx/rojo
    - 7.2.1
  JohnnyMorganz/StyLua
    - 0.14.3
  Kampfkarren/selene
    - 0.21.1
  UpliftGames/wally
    - 0.3.1

Version: 1.0.5 Installation method: Rust What I've done: Reinstalled Foreman, checked to make sure the path variable was correct, and reinstalled the tools many times.

oltrep commented 2 years ago

Hello 👋 Did you add the directory where foreman puts the downloaded binaries to your PATH variable? You can find some info on that in the README

L3G5ND commented 2 years ago

I'm assuming your talking about adding the bin to the environment. In that case, yes, I have added it. image

L3G5ND commented 2 years ago

Update: It appears that the bin executables are broken. When I run the executable for the specific tool in the tools directory, it works fine. image

L3G5ND commented 2 years ago

Found the fix. The environment variable must be under User variables instead of System variables. image image