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

[🐛 | Bug]: version_updater.py: Multiple license fields found in package.json #7209

Closed
FirelightFlagboy opened this issue Apr 29, 2024 · 1 comment
Assignees
Labels
bug Issue related to a bug

Comments

@FirelightFlagboy
Copy link
Contributor

Parsec version tested on:

master

Platforms tested on:

Any

Bug description:

https://github.com/Scille/parsec-cloud/actions/runs/8872422983/job/24356745681?pr=7204

Relevant output:

$ python misc/version_updater.py --tool parsec --version 3.0.0-b.6.dev.19842+948eb11
Refreshing npm lock file /home/runner/work/parsec-cloud/parsec-cloud/client/package-lock.json ...
Traceback (most recent call last):
  File "/home/runner/work/parsec-cloud/parsec-cloud/misc/version_updater.py", line 514, in <module>
    errors += check_tool(tool, update=not args.check).errors
  File "/home/runner/work/parsec-cloud/parsec-cloud/misc/version_updater.py", line 481, in check_tool
    update_res.updated |= tool.post_update_hook(update_res.updated)
  File "/home/runner/work/parsec-cloud/parsec-cloud/misc/version_updater.py", line 83, in post_update_hook
    updated |= refresh_npm_package_lock(updated_files)
  File "/home/runner/work/parsec-cloud/parsec-cloud/misc/version_updater.py", line 141, in refresh_npm_package_lock
    assert found_license_count <= 1, "Multiple license fields found in package.json"
AssertionError: Multiple license fields found in package.json
@FirelightFlagboy FirelightFlagboy added the bug Issue related to a bug label Apr 29, 2024
FirelightFlagboy added a commit that referenced this issue Apr 29, 2024
@FirelightFlagboy FirelightFlagboy self-assigned this Apr 29, 2024
FirelightFlagboy added a commit that referenced this issue Apr 29, 2024
@mmmarcos
Copy link
Contributor

Done in #7230

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue related to a bug
Projects
None yet
2 participants