-
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
node_modules/search-replace-db/srdb.cli.php: No such file or directory #43
Comments
You'll need to ensure you have the correct dependencies installed. It's look for the script at Try See this line |
Hi Dave, Great work on this script, by the way. OK, I think I am missing something. My local package.json for the site contains:
I've run Sorry if i've missed something obvious? |
OK I've added the following to my DevDepencies:
and that installs the package locally and gets rid of the error. Not sure why I had to explicitly add that line to my |
Hmmmm...this could be an issue. I'm wondering whether the way npm resolves dependencies is going to mean the way Grunt Deployments uses the Search Replace DB script in this somewhat unorthadox manner isn't go to be a goer. Did you get this working in the end and has it now resolved #44 ? Is so can you close the issues? |
So the issue here still exists, in that npm installs search-replace-db in to I got around this by manually adding the dependency to my
But from what I can see, anyone running |
#44 is a separate issue. |
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:
/bin/sh: node_modules/search-replace-db/srdb.cli.php: No such file or directory
From what I can see, is this something to do with
scriptPath
not having the correct path tosrdb.cli.php
?The text was updated successfully, but these errors were encountered: