Closed jcontonio closed 10 years ago
Can you post the options you used and information about your setup, versions and os info?
Same issue
OSX 10.9.1 & 10.9.2 Node - 0.10.24 npm - 1.3.21 yo - 1.1.2 generator-wordpress@1.4.1
npm - 1.3.11 node - 0.10.21 yo - 1.1.2 OS X 10.9.2 mysql - 5.6.13
Tried with custom theme and without custom theme. wordpress in the custom directory
What did you guys enter for the database credentials? I am wondering if it was maybe left blank?
on my local machine for dev I just use root and a blank mysql pw.
On Wed, Feb 26, 2014 at 1:00 PM, Wes Todd notifications@github.com wrote:
What did you guys enter for the database credentials? I am wondering if it was maybe left blank?
Reply to this email directly or view it on GitHubhttps://github.com/wesleytodd/YeoPress/issues/92#issuecomment-36175908 .
I am wondering if the empty password is causing the problem. Can you try running it with a password, then just remove the password in your wp-config.php
after it completes?
Same error without a blank pw
`>> Getting salt keys create wp-config.php
TypeError: Cannot call method 'replace' of undefined
at Object.SqlString.escapeId (/usr/local/lib/node_modules/generator-wordpress/node_modules/mysql/lib/protocol/SqlString.js:13:20)
at /usr/local/lib/node_modules/generator-wordpress/node_modules/wp-util/lib/database.js:101:55
at null.
Fixed, update and you should be good.
Getting an error here on initial setup
TypeError: Cannot call method 'replace' of undefined at Object.SqlString.escapeId (/usr/local/lib/node_modules/generator-wordpress/node_modules/mysql/lib/protocol/SqlString.js:13:20)