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

Install trips over wp-config.php not existing from fresh install #6

Open
bradbaris opened this issue Oct 19, 2015 · 1 comment
Open
Assignees
Milestone

Comments

@bradbaris
Copy link

Not sure if I screwed up a simple thing, because it's a simple error. Just thought I'd bring it up.

Cloning theme from https://github.com/ikayzo/_s.git ...
{ [Error: Command failed: /bin/sh -c wp core config --dbname="<database>" --dbuser="<user>" --dbpass="<password>"
Error: The 'wp-config.php' file already exists.
]
  killed: false,
  code: 1,
  signal: null,
  cmd: '/bin/sh -c wp core config --dbname="<database>" --dbuser="<user>" --dbpass="<password>' }

Making our custom theme the default theme...
fs.js:0
(function (exports, require, module, __filename, __dirname) { // Copyright Joy

Error: ENOENT, no such file or directory './wp-config.php'
    at Error (native)
    at Object.fs.lstatSync (fs.js:792:18)
    at replacizeFileSync (/usr/local/lib/node_modules/generator-microcebus/node_modules/replace/replace.js:121:22)
    at module.exports (/usr/local/lib/node_modules/generator-microcebus/node_modules/replace/replace.js:64:13)
    at null.<anonymous> (/usr/local/lib/node_modules/generator-microcebus/app/index.js:194:9)
    at helpIfError (/usr/local/lib/node_modules/generator-microcebus/node_modules/wp-cli/lib/utils.js:64:9)
    at /usr/local/lib/node_modules/generator-microcebus/node_modules/wp-cli/lib/utils.js:77:4
    at ChildProcess.exithandler (child_process.js:758:5)
    at ChildProcess.emit (events.js:110:17)
    at maybeClose (child_process.js:1015:16)
@micjamking micjamking added this to the 1.0 milestone Oct 23, 2015
@micjamking micjamking self-assigned this Oct 23, 2015
@micjamking
Copy link
Member

@bradbaris thanks for catching this. I'll try to replicate it this weekend and see what's going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants