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

os.Getenv("NODIST_PREFIX") is an empty string #273

Open
t-rexwave opened this issue Jul 1, 2024 · 3 comments
Open

os.Getenv("NODIST_PREFIX") is an empty string #273

t-rexwave opened this issue Jul 1, 2024 · 3 comments

Comments

@t-rexwave
Copy link

Don't really know much go, but I was getting an error when trying to run firebase emulators, it was exiting with "Please set the path to the nodist directory in the NODIST_PREFIX environment variable."

I made a little test go project and on that one os.Getenv("NODIST_PREFIX") was equal to "C:\Program Files (x86)\Nodist", so I have literally no idea why it wasn't working.

I checked the environment variables and restarted my computer before retrying with the same results, so that wasn't the issue.

@Mairu
Copy link
Contributor

Mairu commented Jul 6, 2024

Hi,
what have you done, to get that error?

I have never worked with Firebase before. I tried to set up a simple project and use the emulators.

After initializing the emulator for the database, I ran firebase emulators:start which did not fail with an error and was working as expected as far as I can say.

@hasan1239
Copy link

I am getting the same error. I have tried uninstalling and installing nodist again but still the same error persists.

@Mairu
Copy link
Contributor

Mairu commented Sep 4, 2024

Would it be possible to have a reproduction repository also with exact introductions how to produce the error?

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