browserslist / update-db

CLI tool to update caniuse-lite to refresh target browsers from Browserslist config
https://browsersl.ist/
MIT License
364 stars 70 forks source link

Yarnpkg not found when attempting to collect latest info #33

Closed mralaminahamed closed 7 months ago

mralaminahamed commented 7 months ago

Issue Description: When running the command to collect the latest information, the build process fails with an error indicating that the yarnpkg command is not found. This issue seems to be caused by a missing or outdated version of Yarn installed on the system.

Steps to Reproduce:

  1. Clone the repository and navigate to the project directory.
  2. Run the command or script responsible for collecting the latest information (e.g., yarn collect-latest-info or npm run collect-latest-info).
  3. Observe the error message stating that the yarnpkg command is not found.

Expected Behavior: The command or script should successfully run and collect the latest information without any errors related to missing dependencies or commands.

Environment:

Additional Information:

Possible Solutions:

Attachments: Screenshot from 2024-04-29 20-45-24

Please let me know if you need any further information or clarification regarding this issue.

mralaminahamed commented 7 months ago

@ai, Kindly review the pull request.

ai commented 7 months ago

I reverted your changes, fixed pnpm 9 issue with test.

You need to prepare another PR this time not breaking the tests.

Use pnpm unit to run unit tests locally.

mralaminahamed commented 7 months ago

ok, i will.