Make WordPress Core

Opened 5 years ago

Closed 6 months ago

Last modified 6 months ago

#51571 closed defect (bug) (fixed)

Output visible error when npm package is missing a dependency

Reported by: isabel_brison's profile isabel_brison Owned by:
Milestone: 6.0 Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords:
Focuses: Cc:

Description

If a block-editor related package is missing a dependency, things silently fail with no visible pointer to the problem. A case in point is the recent @wordpress/reusable-blocks package that was split out from @wordpress/editor. Updating the npm packages caused a WSOD on the editor, with no indication of what was wrong.

There should be some error message in this situation that can help us debug it.

Change History (5)

#2 @sabernhardt
4 years ago

  • Component changed from General to Build/Test Tools

#3 @desrosj
6 months ago

  • Keywords reporter-feedback added

@isabel_brison is this still a concern today? I tried to reproduce the issue but was unable to.

#4 @isabel_brison
6 months ago

  • Resolution set to fixed
  • Status changed from new to closed

Ah yes this was fixed in #55642. I'll close this ticket!

#5 @sabernhardt
6 months ago

  • Keywords reporter-feedback removed
  • Milestone changed from Awaiting Review to 6.0
Note: See TracTickets for help on using tickets.