-
Notifications
You must be signed in to change notification settings - Fork 34
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
Error: Missing argument, -n or --name is required #44
Comments
This is still an issue even, when #43 is resolved. |
Here's what happens:
The production database has been pulled down and the local one backed up, but the search replace hasn't happened. |
Initial look This is the param that's missing. The param is included in the LoDash template which is used by Grunt Deployments (see here) Your error suggests that the The config object is in turn supplied to the dbReplace function (see here). This Hopefully this breaks things down a little. Are you sure you have the correct options supplied in the task config block in your Gruntfile? Specifically have you provided the database? I hope that helps a bit. |
Thanks Dave, but yes I have supplied the database as far as I can see. As I mentioned, it is actually pulling the production database down to my local machine. So the credentials, as far as I know, are OK:
|
I'm testing the feature/advanced-search-replace branch and when I run:
grunt db_pull --src="production" --dest="local"
I get the following error:
Error: Missing argument, -n or --name is required
I realise that argument is required by advanced-search-replace, but shouldn't the script already have that info from the Gruntfile?
I tried ``grunt db_pull --src="production" --dest="local" -n {database-name}` and a few combinations of that, but now get:
>> Local Npm module "{database-name}" not found. Is it installed?
The text was updated successfully, but these errors were encountered: