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

Error building project: yarn command fails in root dir #258

Open
vedant1811 opened this issue Feb 14, 2023 · 0 comments
Open

Error building project: yarn command fails in root dir #258

vedant1811 opened this issue Feb 14, 2023 · 0 comments

Comments

@vedant1811
Copy link

vedant1811 commented Feb 14, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant