memos icon indicating copy to clipboard operation
memos copied to clipboard

Preventing future package manager error

Open Cadavanaugh opened this issue 9 months ago • 1 comments

New contributors like me might miss the package manager and end up running npm install instead of pnpm install. Which generates a package-lock.json that should not be uploaded to the remote repository since the correct lockfile is pnpm-lock.yaml.

Cadavanaugh avatar Mar 15 '25 18:03 Cadavanaugh

If it is to be merged, I think the suitable .gitignore to change is the one inside the /web directory. See https://github.com/usememos/memos/blob/main/web/.gitignore

ehsundar avatar Mar 17 '25 00:03 ehsundar