Error building project: yarn command fails in root dir
vedant1811 opened this issue · 0 comments
vedant1811 commented
Hello team,
I'm very excited to use your kafkajs instrumentation! But I'm unable to build the project :(
Steps:
git clone ...
cd opentelemetry-ext-js
yarn
Output:
% yarn
➤ YN0000: ┌ Resolution step
➤ YN0002: │ @octokit/rest@npm:16.43.2 doesn't provide @octokit/core (p84523), requested by @octokit/plugin-request-log
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 0s 235ms
➤ YN0000: ┌ Link step
➤ YN0000: │ ESM support for PnP uses the experimental loader API and is therefore experimental
➤ YN0007: │ root@workspace:. must be built because it never has been before or the last one failed
➤ YN0009: │ root@workspace:. couldn't be built successfully (exit code 1, logs can be found here: /private/var/folders/xp/bj30zqrd12b6swh20j255x0r0000gn/T/xfs-46774c76/build.log)
➤ YN0000: └ Completed in 1s 46ms
➤ YN0000: Failed with errors in 1s 460ms
In the logfile, I get the error
lerna notice cli v3.22.1
lerna info versioning independent
lerna info bootstrap root only
Unknown Syntax Error: Unsupported option name ("--mutex").
Looks like this is a lerna
error. But I'm not sure how to proceed.
My setup:
- M1 mac
- yarn: 3.4.1
- node: 16.19.0
Plus, the README has no steps to installs. I would love to figure this out and raise a PR in this repo to update the README.
Cheers!