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

TypeError: Parameter "url" must be a string, not undefined #1

Closed
MaxAst opened this issue May 17, 2017 · 2 comments
Closed

TypeError: Parameter "url" must be a string, not undefined #1

MaxAst opened this issue May 17, 2017 · 2 comments

Comments

@MaxAst
Copy link

MaxAst commented May 17, 2017

When cloning the repo and running it with 'heroku local' I get the above error. I have all dependencies installed, downloaded npm and nodejs latest versions, and my config var for mLab seems to be fine too. Any ideas for what the problem is?

@chrisckchang
Copy link
Owner

chrisckchang commented May 17, 2017

It looks like the environment variable may not be set on your local machine. You'll likely need to do the following:

heroku config:get MONGODB_URI
// YOUR_MONGODB_URI printed here
export MONGODB_URI=YOUR_MONGODB_URI

@chrisckchang
Copy link
Owner

closing- feel free to reopen if this is still an issue.

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

2 participants