-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[BUG] NPM not recognized the env alias #5153
Comments
the problem here is that your aliases have most likely been set in your default shell ( to fix your problem, there are two changes you'll need to make 1 set your aliases in after that your since this isn't an npm bug, and rather a configuration problem, i'm going to go ahead and close this issue. please do let me know if this doesn't solve your problem though! Footnotes
|
Not solve the issue. I did the config using the ~/.zshenv too and the error not was solved. =/ The alias are working, just Here the commands:
In additional here the
|
you've set the |
@nlf thx! Worked after I set the script-shell. |
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
I'm migrating Docker to Podman.
I added on my env alias:
To test the alias I ran
docker-compose up --build
and works correctly.I have on my package.json:
When a I ran npm run start, this is the output:
I did one more test, change the docker-compose to podman-compose on package.json file and works too.
Expected Behavior
Recognize the env alias. Like happen when I run the command direct on the terminal.
Steps To Reproduce
Environment
The text was updated successfully, but these errors were encountered: