Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to determine version of "something" while parsing a yarn.lock - please report this! #102

Closed
AxetNord opened this issue Dec 27, 2022 · 3 comments

Comments

@AxetNord
Copy link

I don't know, where i may report about this. Report here.
yarn.lock.txt

@G-Rath
Copy link
Collaborator

G-Rath commented Dec 27, 2022

Thanks, this is the right place to report this - I'll have a look tomorrow morning, but in the meantime it would be useful to know more about your project to better understand why your yarn.lock is structured as it is (assuming it's not just invalid).

Could you also confirm that running yarn install doesn't change the lock at all, and what the actual package that it errors on was?

@AxetNord
Copy link
Author

before yarn install
please report this.txt
After yarn install no errors found. Sorry for that

@G-Rath
Copy link
Collaborator

G-Rath commented Dec 27, 2022

@AxetNord good to know, though it looks like this happened because your yarn.lock has properties quoted e.g.:

"word-wrap@^1.2.3":
  "integrity" "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ=="
  "resolved" "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz"
  "version" "1.2.3"

Instead of:

"word-wrap@^1.2.3":
  integrity "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ=="
  resolved "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz"
  version "1.2.3"

which is something that should be very easy to support but it would be useful to know how your yarn.lock got like that first - initially I wondered if it was because of the earlier versions of yarn but I've tried all the way back to v0.15.3 with no success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants