Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upWhen project is in cargo's workspace, infer_schema! fails for "Failed to load environment variable POSTGRES_URL: environment variable not found" #823
Comments
This comment has been minimized.
|
Did you figure out this issue? The error is saying it can't find your env variable, likely because you are missing your .env file as you suggested. |
redtankd
closed this
Oct 18, 2017
limira
referenced this issue
May 16, 2018
Closed
infer_schema! fail to find .env in local project if it is inside a workspace #1696
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
redtankd commentedMar 23, 2017
My cargo workspace's structure is below:
When I build or test in the dir workspace with option "--all", building is failed. The message is
I think it is because the .env is not in dir workspace.