[wp-trac] [WordPress Trac] #57471: Update @wordpress packages

WordPress Trac noreply at wordpress.org
Mon Feb 6 18:50:34 UTC 2023


#57471: Update @wordpress packages
-------------------------------------------------+-------------------------
 Reporter:  Mamaduka                             |       Owner:  (none)
     Type:  task (blessed)                       |      Status:  new
 Priority:  normal                               |   Milestone:  6.2
Component:  Editor                               |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  gutenberg-merge has-patch has-unit-  |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by desrosj):

 @youknowriad I was able to reproduce the issue you described, though very
 inconsistently. If you look at the generated `blocks-json.php` file, it
 seems that the Grunt task stopped somewhere within the `list-item` block
 and the file just ends with `'_` causing the fatal error.

 I have two checkouts of `wordpress-develop` locally (one using the Git
 mirror, one using SVN), and I could only get it to happen in the one from
 SVN for whatever reason. I'm not sure what the reason is, though. This
 could be some type of time or memory limit at some point of the build
 process.

 Since the Grunt task that creates this file uses the `json2php` npm
 package, I looked to see if the version of that dependency had changed
 recently. I was looking to update it recently but hadn't yet, and there
 are only minor changes in the two point releases since it was last updated
 in [54276].

 For whatever reason, I am unable to reproduce the problem after updating
 that dependency. To rule this out, I've gone and committed this update in
 [55232] and updated the attached PR by merging in `trunk` after this
 change.

 Could a few others run some testing locally to confirm they no longer see
 this problem?

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


More information about the wp-trac mailing list