You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
More of a discussion to make this issue searchable.
I don't think that the code fix is needed since it can be fixed with a configuration change.
The issue is most likely due to del upgrade in v2 and yarn PnP being an edge case that adds to the complexity
The error is this:
[!] (plugin delete) TypeError: Cannot destructure property 'withFileTypes' of '(intermediate value)(intermediate value)(intermediate value)' as it is null.
TypeError: Cannot destructure property 'withFileTypes' of '(intermediate value)(intermediate value)(intermediate value)' as it is null.
at PosixFS.readdirPromise
TLDR Solution if you have nested folder structure in your targets:
Change the targets to ["dist/**/*", "dist/*"] (note the order)
More of a discussion to make this issue searchable.
I don't think that the code fix is needed since it can be fixed with a configuration change.
The issue is most likely due to
del
upgrade in v2 and yarn PnP being an edge case that adds to the complexityThe error is this:
TLDR Solution if you have nested folder structure in your targets:
Change the targets to
["dist/**/*", "dist/*"]
(note the order)Reproduction repository with more background info
The text was updated successfully, but these errors were encountered: