imsnif / imsnif/synp

No matching version found for dependencies@undefined

Open
#29 19 comments 2 reactions 0 assignees View on GitHub
pending
Dominant language
JavaScript
Stars
788
Forks
42
PR merge metrics
No merged PRs in 30d

Description

#### 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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the conversion with the attached yarn.lock and package.json, then run npm install against the generated package-lock.json. Inspect how synp represents dependencies during conversion; done means the generated lockfile no longer requests dependencies@undefined and npm install completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.