I cloned the shared pnpm_workspace repository and tried to build it according to the README instructions, but I’m encountering errors. How should I manage dependencies and orchestrate the build process?
pnpm --filter "@testrepo/dep01" res:build
> @testrepo/dep01@0.0.1 res:build /Users/woonki/GitHub/projects/rewatch-pnpm/packages/dep01
> rescript
>>>> Start compiling
Warning: bsconfig.json is deprecated. Migrate it to rescript.json
Warning number 3
/Users/woonki/GitHub/projects/rewatch-pnpm/packages/dep01/bsconfig.json:7:20-22
5 ┆ "subdirs": true
6 ┆ },
7 ┆ "package-specs": {
8 ┆ "module": "es6",
9 ┆ "in-source": true
10 ┆ },
deprecated: Option "es6" is deprecated. Use "esmodule" instead.
File "bsconfig.json", line 1
Error: package @testrepo/new-namespace not found or built
- Did you install it?
>>>> Finish compiling (exit: 2)
/Users/woonki/GitHub/projects/rewatch-pnpm/packages/dep01:
ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL @testrepo/dep01@0.0.1 res:build: `rescript`
Exit status 2