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

WordPress Trac noreply at wordpress.org
Sat Dec 31 00:03:15 UTC 2022


#56725: WordPress setup on local - "npm run env:install" not working on windows
-------------------------------+------------------------------
 Reporter:  ashokrd2013        |       Owner:  (none)
     Type:  defect (bug)       |      Status:  reopened
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Build/Test Tools   |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by bgoewert):

 @ashokrd2013 Just wanted to follow up to see if you could provide some
 answers to the questions in comment:9.

 ----

 As an aside, I'd also would like to note that I am having a similar, if
 not the same, permission issue on Linux (Pop!_OS) while trying to use
 `env:install`. However, I believe that this can be addressed by using
 `sudo`. Although if you are like me and have `nvm` installed, this is in
 the user context. To use the `nvm` version of `npm` with `sudo`, you'd
 have to create a symlink some other method of sharing `~/.nvm`.

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


More information about the wp-trac mailing list