rxaviers / cldr-data-npm

Npm module for Unicode CLDR JSON data
MIT License
42 stars 28 forks source link

install.js doesn't appear to run as expected in node@16/npm@7 #72

Open skgrush opened 3 years ago

skgrush commented 3 years ago

We recently upgraded to node 16 and npm 7, and found that the install.js script is no longer running automatically during npm ci/npm install runs on clean node_modules.

Our current workaround is using adding to our own package.json "postinstall": "npm explore cldr-data -- npm run install", which covers us for the time-being.

I wouldn't be surprised if this is just a breaking change in npm 7.

GEMI commented 2 years ago

Same here.