-
Notifications
You must be signed in to change notification settings - Fork 48
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
dotenv-expand: TypeError: Cannot read property 'split' of undefined #71
Comments
Seems like a bug in dotenv-expand. Not sure why the newer version doesn't work but nothing we can do about that. I'm pretty sure dotenv-expand as a library will have the same bug |
experiencing this on dotenv 5 |
I found that this is related to some special-chars in my |
@wilsonpage You are right. This is kinda stupid. I have a $ sign inside my |
Try quoting it, if it doesn't work, file a bug over at |
Hi :) Good to see some activity under my issue, which had been closed already by @entropitor - but it's ok. I wanna say, that that at the time of report I'd experimenting with Here is my full list of experiments:
|
node
v14
npm
v6
dotenv@^16.0.0
dotenv-cli@5.1.0
(with requireddotenv-expand@^8.0.1
)Works ONLY with no such error when I downgrade to
dotenv-cli@4.1.1
which under the hood installsdotenv-expand@^5.1.0
The text was updated successfully, but these errors were encountered: