Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
If you install node, npm and yarn with the latest binaries on OSX yarn install fails.
Proposed resolution
Upgrade chokidar so that the fs-events dependency is updated.
Remaining tasks
User interface changes
N/a
API changes
Note that this library is part of core's JS build process and is not part of any Drupal build and not shipped or required apart from to build JS.
Data model changes
N/a
Release notes snippet
N/a
Comment | File | Size | Author |
---|---|---|---|
#2 | 3060983-2.patch | 26.82 KB | alexpott |
Comments
Comment #2
alexpottComment #3
Eli-TWithout this patch, yarn install fails with the following environment:
With the patch, yarn install runs cleanly
Therefore marking RTBC.
Comment #4
cilefen CreditAttribution: cilefen at Institute for Advanced Study commentedComment #5
alexpottComment #8
lauriiiTested manually that our build tools still work after updating chokidar. I also confirmed manually that updating chokidar resulted in similar changes in yarn.lock as what is in the patch.
Committed 59c90e8 and pushed to 8.8.x. I backported this because this could prevent someone from building code in 8.7.x, which is still supported. This is safe because as the issue summary mentions, this doesn't affect the production code. Thanks!