synp: No matching version found for dependencies@undefined

Issue description:

After converting yarn.lock to package-lock.json I run npm install. output is

npm i
npm ERR! code ETARGET
npm ERR! notarget No matching version found for dependencies@undefined
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

Disclaimer I reinstalled node_modules fresh using yarn install, then I used following command to convert yarn.lock synp --source-file yarn.lock and it ran correctly and created package-lock.json

Attaching files

yarn.lock https://pastebin.com/FZWC7mUS package-lock.json https://ufile.io/3rsmr package.json https://pastebin.com/9fMwYfGt

About this issue

  • Original URL
  • State: open
  • Created 6 years ago
  • Reactions: 2
  • Comments: 19 (8 by maintainers)

Most upvoted comments

@imsnif - I believe so; yes.

My examples are also in private repos, but I will experiment with trimming down to something I can make public as a mini-repo to reproduce this issue. Watch this space…