[wp-trac] [WordPress Trac] #49274: Grunt copy:files should ignore node_modules
WordPress Trac
noreply at wordpress.org
Wed Jan 22 23:14:52 UTC 2020
#49274: Grunt copy:files should ignore node_modules
------------------------------+-----------------------------
Reporter: iandunn | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Keywords:
Focuses: |
------------------------------+-----------------------------
I've gotten this error several times when run `grunt watch`, and
[https://wordpress.slack.com/archives/C02RQBWTW/p1569233071368200 several]
[https://wordpress.slack.com/archives/C18723MQ8/p1510735332000041 others]
[https://wordpress.slack.com/archives/C18723MQ8/p1472636852000040 have]
[https://wordpress.slack.com/archives/C18723MQ8/p1463866743000131 too]:
`Maximum call stack size exceeded`
It happens because there's a `node_modules` folder somewhere in `src/`,
and they typically contain too many files for Grunt to handle.
Configuring `copy:files` to always ignore `node_modules` folders seems
like it'd remove that friction for people.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49274>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list