-
-
Notifications
You must be signed in to change notification settings - Fork 207
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
Not able to inject environment variables #1093
Comments
Hi @sahibjotsaggu, Thanks for reaching out. The answer to your question is in #1081 (and in the documentation links mentioned in that issue). As a side note, please note that the environment variable names in the |
Okay, I see from https://github.com/sindresorhus/execa/blob/main/docs/bash.md#environment-variables that environment variables should get injected but I'm getting this type error I can't seem to resolve: ![]()
Any insight into this? |
Hi @sahibjotsaggu, To help solving those issues, I would recommend:
I have created the following reproduction, and your example works fine for me. Is there anything in the TypeScript documentation's troubleshooting section that's helping? In particular: the part about the minimum TypeScript version, and the part about ES modules. |
Couldn't find anything in the documentation but after learning that something like
won't work, I saw that we can use the Options argument to define environment variables.
However, trying the following did not work as expected:
Here's the sandbox
The text was updated successfully, but these errors were encountered: