imsnif / synp

Convert yarn.lock to package-lock.json and vice versa
MIT License
757 stars 41 forks source link

create package-lock.json successfully ,but package-lock.json is overwritten after "npm install" #96

Closed zedyuan999 closed 1 year ago

zedyuan999 commented 2 years ago

Issue description:

yarn.lock => package-lock.json when I create a new project with vue-cli@~4.5.0,it create a yarn.lock. And then follow the steps

synp --source-file yarn.lock
// delete node_modules
npm install

package-lock.json will be rewritten and files in node_modules are not I want.Project can not start!

even if I use 'npm ci' ,package-lock.json is not rewritten but files in node_modules are also not I want.