Closed krisbulman closed 8 years ago
This works for now
"scripts": {
"postinstall": "find node_modules/ -name '*.info' -type f -delete"
}
Further reading https://www.drupal.org/node/2329453
There's also a core patch in https://www.drupal.org/node/619542#comment-9771891 which maybe should be included in docs.
Yes, I've been using that postinstall line and it does the trick.
@carwin this is patched in 8 core, not in 7.
Disregard, of course patches don't make it into core in a timely manner :angry:
Looks like this has been patched for D7 in the last link you posted @krisbulman, is there anything to do here?
whoa shit, cool a committed patch to 7. all good, close out
As we all know, malformed theme.info files really break the site. See https://www.drupal.org/node/619542
The new issue for the core patch for 7.x is https://www.drupal.org/node/2329453
As it happens, some node_modules, like
grunt-eslint
include anlcov.info
file that makes drupal shit the bed. This is going to be a pain point for a lot of people (like it has been for myself for 2 hours of backtracking).