[wp-trac] [WordPress Trac] #47767: Simplify and backport the local environment
WordPress Trac
noreply at wordpress.org
Fri Aug 9 09:59:41 UTC 2019
#47767: Simplify and backport the local environment
-------------------------------------+-----------------------
Reporter: pento | Owner: pento
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.3
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: needs-testing has-patch | Focuses:
-------------------------------------+-----------------------
Comment (by youknowriad):
Changes look good.
While trying to test the new env. I had this error when running `npm run
env:install`
{{{
> WordPress at 5.3.0 env:install /Users/riad/Workspace/a8c/wordpress-trunk
> node ./tools/local-env/scripts/install.js
ERROR 1045 (28000): Access denied for user 'root'@'172.20.0.5' (using
password: YES)
child_process.js:669
throw err;
^
Error: Command failed: docker-compose -f ./tools/local-env/docker-
compose.yml -f ./tools/local-env/docker-compose.scripts.yml run --rm cli
config create --dbname=wordpress_develop --dbuser=root --dbpass=password
--dbhost=mysql --path=/var/www/src --force
at checkExecSyncError (child_process.js:629:11)
at execSync (child_process.js:666:13)
at wp_cli (/Users/riad/Workspace/a8c/wordpress-trunk/tools/local-
env/scripts/install.js:28:2)
at Object.<anonymous> (/Users/riad/Workspace/a8c/wordpress-trunk/tools
/local-env/scripts/install.js:8:1)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js
(internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)
npm ERR! code ELIFECYCLE
}}}
Probably unrelated with the last patch, it's more the former one.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47767#comment:35>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list