imsnif / synp

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

Unknown token #95

Open vire opened 2 years ago

vire commented 2 years ago

Issue description:

synp -w --source-file ./yarn.lock

Are you reporting a conversion error? Please include a link to yarn.lock / package-lock.json:

# This file is generated by running "yarn install" inside your project.
# Manual changes might be lost - proceed with caution!

__metadata:
  version: 6
  cacheKey: 8
...
more thousands lines
antongolub commented 2 years ago

Yarn 2+ (Berry) lockfiles are not supported yet(

__metadata:
  version: 6
  cacheKey: 8
leonk-sportsbet commented 1 year ago

Same issue:

~/.nodenv/versions/16.3.0/bin/synp --source-file yarn.lock
Workspace (npm lockfile v2) support is experimental. Pass `--with-workspace` flag to enable and cross your fingers. Good luck!
Unknown token: { line: 3, col: 2, type: 'INVALID', value: undefined } 3:2 in lockfile

__metadata: version: 4 cacheKey: 7