OpenAPIValidators icon indicating copy to clipboard operation
OpenAPIValidators copied to clipboard

Contribution challenges / trouble in local repo setup

Open martnst opened this issue 11 months ago • 1 comments

Hey *,

I would like to contribute some improvements. Unf. I can not get the repo setup to start.

After overcoming some yarn install obstacles, yarn test is not working from the repo root.

When running yarn test from either packages/chai-openapi-response-validator/ or packages/jest-openapi I am facing a number of failing tests.

➜  OpenAPIValidators git:(main) ✗ yarn test

Unknown Syntax Error: Command not found; did you mean one of:

  0. yarn workspaces list [--since] [-R,--recursive] [--no-private] [-v,--verbose] [--json]
  1. yarn workspaces focus [--json] [--production] [-A,--all] ...
  2. yarn workspaces foreach [--from #0] [-A,--all] [-R,--recursive] [-W,--worktree] [-v,--verbose] [-p,--parallel] [-i,--interlaced] [-j,--jobs #0] [-t,--topological] [--topological-dev] [--include #0] [--exclude #0] [--no-private] [--since] [-n,--dry-run] <commandName> ...

While running workspaces run test

martnst avatar Feb 06 '25 16:02 martnst

I found out you need yarn 1.x, but then yarn test would fail anyway

lamuertepeluda avatar Mar 27 '25 12:03 lamuertepeluda