[wp-trac] [WordPress Trac] #51571: Output visible error when npm package is missing a dependency
WordPress Trac
noreply at wordpress.org
Tue Oct 20 06:18:33 UTC 2020
#51571: Output visible error when npm package is missing a dependency
---------------------------+-----------------------------
Reporter: isabel_brison | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51571>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list