coopsoc / website

https://coopsoc.com.au
7 stars 5 forks source link

Sort out package-lock.json and yarn.lock conflict #27

Closed lhvy closed 1 year ago

lhvy commented 1 year ago

Currently the codebase has both package-lock.json and yarn.lock, and running yarn install gives the following error:

warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.

I believe, we should decide if we are using Yarn or not, and remove the other file.

theawesomew commented 1 year ago

Huh - that's probably my fault. I often use npm install rather than yarn install - just deleted the package-lock.json and add it to the .gitignore in case I fuck that up again.

lhvy commented 1 year ago

Sounds good! I'll let this issue close with linked PR.