Make WordPress Core

Opened 5 months ago

Closed 7 weeks ago

#58633 closed defect (bug) (reported-upstream)

Tools: Missing @wordpress/nux dependency causes GB sync script to fail

Reported by: bernhard-reiter's profile Bernhard Reiter Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords:
Focuses: Cc:


Running npm run sync-gutenberg-packages -- --dist-tag=wp-6.3 currently results in the following error:

Running "wp-packages:update" task
Updating WordPress packages (--dist-tag=wp-6.3)
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @wordpress/nux@wp-6.3.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

after which script execution resumed, thus typically hiding the error behind a lot of other output.

However, this results in package.json not being updated with the expected version bumps to @wordpress/* packages.

Change History (3)

#1 @Bernhard Reiter
5 months ago

Potentially related discussion about @wordpress/nux deprecation: #57643.

cc/ @isabel_brison @youknowriad

#2 @audrasjb
4 months ago

  • Milestone changed from 6.3 to 6.4

Moving to milestone 6.4 as WP 6.3 RC3 has been released.

#3 @peterwilsoncc
7 weeks ago

  • Milestone 6.4 deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

This can be closed as it was resolved upstream in Gutenberg#52444 by restoring the package.

In [55628] for #57827 the CSS dependencies were fixed to prevent wp-nux.css from being enqueued incorrectly with core packages.

Related #57643.

Note: See TracTickets for help on using tickets.