Closed tettoffensive closed 4 years ago
Looks like the answer is here: https://github.com/yarnpkg/yarn/issues/6617
yarn
and npm
are using different versions of node. And it seems to effect sub-dependencies.
npm config set scripts-prepend-node-path true
Not sure what's going on, but when I do:
yarn add srcset-loader --dev
It fails, even though
yarn add sharp --dev
works. Maybe the version? Installing it straight uses version^0.24.1