Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No $HOME env var set #56

Open
truong0vanchien opened this issue May 2, 2023 · 2 comments
Open

No $HOME env var set #56

truong0vanchien opened this issue May 2, 2023 · 2 comments

Comments

@truong0vanchien
Copy link

Hi, I counter the error "No $HOME env var set." when installing this in windows.
Please help me fix this.
Thanks and warm regards.

image

@aeswibon
Copy link

On windows, HOME is sometimes named as USERPROFILE. For using render on Windows. follow these commands:

  1. Clone the repo
  2. In util/path.ts file, change line 9 to this:
// original
// const defaultHome = Deno.env.get("HOME");
const defaultHome = Deno.build.os === "windows" ? Deno.env.get("USERPROFILE") : Deno.env.get("HOME");
  1. Now you can compile the binary file using make build-windows-x86_64 OUTDIR=. OUTFILE=render

@evereq
Copy link

evereq commented Oct 26, 2023

So just run set HOME=%USERPROFILE% and it should work on Windows probably, at least it start displaying list of commands available to me etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants