[wp-trac] [WordPress Trac] #56725: WordPress setup on local - "npm run env:install" not working on windows

WordPress Trac noreply at wordpress.org
Tue Oct 4 05:28:50 UTC 2022


#56725: WordPress setup on local - "npm run env:install" not working on windows
------------------------------+-----------------------------
 Reporter:  ashokrd2013       |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:  trunk
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 **Platform**
 - Windows 10 OS
 - Docker
 - Node & NPM

 **Steps to reproduce:**

 1. Cloned WP develop repo using git clone https://github.com/WordPress
 /wordpress-develop.git & followed README

 2. Navigate to the cloned directory - {{{cd wp-develop}}}

 3. Installed npm dependencies for the project - {{{npm install}}}

 4. Executed other commands - {{{npm run build:dev}}} & {{{npm run
 env:start}}}

 5. While running the - {{{npm run env:install}}} gives me an error that
 WP_CLI can't create a config file at the root.


 I looked out for a solution - finding one reply regarding the permission
 issue seems to be convincing, however, doesn't give any solution/steps to
 fix it.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56725>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list