[wp-trac] [WordPress Trac] #47767: Simplify and backport the local environment
WordPress Trac
noreply at wordpress.org
Sat Sep 21 07:30:26 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 | Focuses:
------------------------------+-----------------------
Comment (by anevins):
Heads up, I've updated node to v10.16.3.
When running `$ npm run env:install`, I get the following error:
{{{
wordpress-develop (master)
$ npm run env:install
> WordPress at 5.3.0 env:install C:\Users\andre\Documents\git\wordpress-
develop
> node ./tools/local-env/scripts/install.js
Pulling cli (wordpressdevelop/cli:latest)...
latest: Pulling from wordpressdevelop/cli
1ab2bdfe9778: Already exists
1448c64389e0: Already exists
4b8a4e62b444: Already exists
9eb9d1e8e241: Already exists
a7bf87822557: Already exists
ee32605e8bd1: Already exists
965457a3bcd9: Already exists
9960277f11c7: Already exists
20195d6057d9: Already exists
39ec1e7c5417: Already exists
1b6c868c5491: Already exists
173b6011791e: Already exists
46e4ebb49881: Already exists
169ed2354892: Already exists
0d469ce63501: Pull complete
bf97528fbd89: Pull complete
Digest:
sha256:ec6868124182075d06c013b449a9eb3cd8fd39ac7539f79587b82f8379e0f397
Status: Downloaded newer image for wordpressdevelop/cli:latest
Error: This does not seem to be a WordPress installation.
Pass --path=`path/to/wordpress` or run `wp core download`.
child_process.js:669
throw err;
^
Error: Command failed: docker-compose 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 (C:\Users\andre\Documents\git\wordpress-develop\tools\local-
env\scripts\install.js:44:2)
at Object.<anonymous> (C:\Users\andre\Documents\git\wordpress-
develop\tools\local-env\scripts\install.js:9:1)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js
(internal/modules/cjs/loader.js:789: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:831:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! WordPress at 5.3.0 env:install: `node ./tools/local-
env/scripts/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the WordPress at 5.3.0 env:install script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\andre\AppData\Roaming\npm-cache\_logs\2019-09
-21T07_26_35_581Z-debug.log
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47767#comment:55>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list