imsnif / synp

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

Why do I need a node_modules folder? #93

Open martin-braun opened 2 years ago

martin-braun commented 2 years ago

I came here, because I want to generate a package-lock.json from a yarn.lock, because I want to use NPM instead of YARN. Obviously, I have not installed the dependencies yet and I should install them with a lock file. I tried to use synp, but it's only for someone who has already the deps installed, but why?

Shouldn't everything the package-lock.json needs be in the yarn.lock, already?

antongolub commented 2 years ago

Seems technically possible. But right now synp uses nmtree, that requires node_modules dir to be processed.