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

Need more helpful message when .env.js has error #340

Open
siva-sankaran opened this issue Jan 31, 2022 · 0 comments
Open

Need more helpful message when .env.js has error #340

siva-sankaran opened this issue Jan 31, 2022 · 0 comments

Comments

@siva-sankaran
Copy link

When .env.js file throwing error like "Cannot find module '...' " , env-cmd tells us that "Failed to find .env file at path: {filePath}". This message is not telling the real issue.

Alternatively "Something went wrong when accessing env file path: ${filePath}" will be better. Can someone add your comments or correct this message with better English ?

console.info(`Failed to find .env file at path: ${filePath}`)

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

1 participant