synp icon indicating copy to clipboard operation
synp copied to clipboard

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

Open zedyuan999 opened this issue 2 years ago • 0 comments

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.

zedyuan999 avatar May 09 '22 03:05 zedyuan999