[wp-trac] [WordPress Trac] #47916: npm install fails if git isn't in the path

WordPress Trac noreply at wordpress.org
Thu Aug 22 02:28:59 UTC 2019


#47916: npm install fails if git isn't in the path
------------------------------+---------------------
 Reporter:  pento             |       Owner:  pento
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.3
Component:  Build/Test Tools  |     Version:  5.1
 Severity:  normal            |  Resolution:  fixed
 Keywords:                    |     Focuses:
------------------------------+---------------------
Changes (by pento):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45875" 45875]:
 {{{
 #!CommitTicketReference repository="" revision="45875"
 Build Tools: Don't use git for package installs.

 While NPM supports installing packages from git locations, this requires
 `git` to be in the path, which won't necessarily be true, particularly on
 Windows.

 We can download the release versions for these packages, instead.

 Fixes #47916.
 }}}

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


More information about the wp-trac mailing list