Make WordPress Core

Opened 3 years ago

Closed 3 years ago

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

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

Reported by: Bernhard Reiter Owned by:
Priority: normal Milestone:
Component: Build/Test Tools Version:
Severity: normal Keywords:
Cc: Focuses:

Description

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
3 years ago

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

cc/ @isabel_brison @youknowriad

#2 @audrasjb
3 years ago

  • Milestone 6.3 → 6.4

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

#3 @peterwilsoncc
3 years ago

  • Milestone 6.4
  • Resolution → reported-upstream
  • Status new → 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.