-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
Update to 10.0.0 breaks existing env-cmd npm scripts #88
Comments
Yeah looks like something broke! Thanks for bringing this to my attention, I am looking into this right now. |
Fixed and just published |
As for your need to use Create a |
The new version works! Thanks 💯 Regarding my problem: I see what you mean, but I have several scripts and each of them would require a special env file then:
And in production my env vars cme from the k8s cluster. So I do not even have env-cmd there any more. Thanks a lot for this package, we really love it https://retraced.co/ |
Ah gotcha, that would be a pain then. The other solution is an With a Glad to hear it is working. Sorry about the breakage! I had forgotten to run it through my |
Hi,
I am using env-cmd in versin 9.0.3 and greenkeeper just got me the update in. I tried it out and the command just fail with
sh: line 1: 4041 Terminated: 15
. I checked the changelogs but cannot find any breaking change affecting me, since I use vanilla NodeJS 12.8.1.An example command as I have it in my package.json:
env-cmd cross-env DEBUG=false KNEX_SEED_DIR=./seeds/resetdb knex seed:run
I need to use the default .env file within my system and then override some env vars with cross-env. I would guess something about parsing this line has changed.
Maybe you can help me either "rewrite" the script so that I actually do not need both
env-cmd
andcross-env
, or we find the bug breaking my script in the latest update.Thanks!
The text was updated successfully, but these errors were encountered: