Introduction Link to heading
I was recently tackling yet another annoying import confusion while upgrading CDK.
I was asking questions on one of the slack channels about this problem and eventually
someone asked me “are you using npm instead of yarn? Why?”
I didn’t have a good answer.
I don’t have much background at all with nodejs, so I had just been using npm.
Well…
Replacing npm With yarn Link to heading
This is absurdly easy to do.
git rm project-lock.json
yarn install
git add yarn.lock
git commit -m "upgrade to yarn"