[wp-trac] [WordPress Trac] #47767: Simplify and backport the local environment

WordPress Trac noreply at wordpress.org
Fri Jul 26 15:24:33 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 pbearne):

 Hi All

 I am trying to test as "the dumb windows user"

 I can't get to work
 steps I have done

 Download clean copy from SVN https://develop.svn.wordpress.org/trunk/

 applied the patch (not sure it applied cleanly)

 tried to run npm in the root and local-env folders


 {{{
 $ npm run env:start


 > WordPress at 5.3.0 env:start C:\Users\pbear\Documents\code\SVN-core-wp
 > ./tools/local-env/start.sh

 '.' is not recognized as an internal or external command,
 operable program or batch file.

 npm ERR! Windows_NT 10.0.17134
 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program
 Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "env:start"
 npm ERR! node v6.9.4
 npm ERR! npm  v3.10.10
 npm ERR! code ELIFECYCLE
 npm ERR! WordPress at 5.3.0 env:start: `./tools/local-env/start.sh`
 npm ERR! Exit status 1
 npm ERR!
 npm ERR! Failed at the WordPress at 5.3.0 env:start script './tools/local-
 env/start.sh'.
 npm ERR! Make sure you have the latest version of node.js and npm
 installed.
 npm ERR! If you do, this is most likely a problem with the WordPress
 package,
 npm ERR! not with npm itself.
 npm ERR! Tell the author that this fails on your system:
 npm ERR!     ./tools/local-env/start.sh
 npm ERR! You can get information on how to open an issue for this project
 with:
 npm ERR!     npm bugs WordPress
 npm ERR! Or if that isn't available, you can get their info via:
 npm ERR!     npm owner ls WordPress
 npm ERR! There is likely additional logging output above.

 npm ERR! Please include the following file with any support request:
 npm ERR!     ...\SVN-core-wp\npm-debug.log

 }}}

 {{{
 $ npm install
 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7
 (node_modules\chokidar\node_modules\fsevents):
 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for
 fsevents at 1.2.9: wanted {"os":"darwin","arch":"any"} (current:
 {"os":"win32","arch":"x64"})
 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7
 (node_modules\jest-haste-map\node_modules\fsevents):
 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for
 fsevents at 1.2.9: wanted {"os":"darwin","arch":"any"} (current:
 {"os":"win32","arch":"x64"})
 npm WARN WordPress at 5.3.0 license should be a valid SPDX license expression

 }}}


 I am sure it just a case of not reading the doc's
 Please point me to docs and let's add them to the into core so newbies can
 get this up and running

 Thanks

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47767#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list