[wp-trac] [WordPress Trac] #52689: Error with `npm run build` as `verify:source-maps` task runs in `build/wp-content`
WordPress Trac
noreply at wordpress.org
Mon Mar 1 21:27:02 UTC 2021
#52689: Error with `npm run build` as `verify:source-maps` task runs in `build/wp-
content`
------------------------------+-----------------------------
Reporter: afragen | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Keywords:
Focuses: |
------------------------------+-----------------------------
Apparently since r50441 there are new assertions that run after the build
is finished.
https://wordpress.slack.com/archives/C02RQBWTW/p1614633511079100
This results in an error and script aborting depending upon the contents
of `build/wp-content` this can be in any of the subfolders. In my case I
have a number of inactive plugins in `build/wp-content/plugins`.
It would seem skipping some of these tests in `build/wp-content` would be
a solution.
Pinging @johnbillion and @desrosj
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52689>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list