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

SDK can not be installed with @opentelemetry/api@1.0.0 #2281

Closed
aabmass opened this issue Jun 14, 2021 · 3 comments · Fixed by #2288
Closed

SDK can not be installed with @opentelemetry/api@1.0.0 #2281

aabmass opened this issue Jun 14, 2021 · 3 comments · Fixed by #2288
Labels
bug Something isn't working

Comments

@aabmass
Copy link
Member

aabmass commented Jun 14, 2021

There is no released version of the SDK compatible with the 1.0.0 api release from last week. The newest API version is not usable. This was fixed in #2276 but needs to be released.

What version of OpenTelemetry are you using?

{
  "name": "npmotel1",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "@opentelemetry/api": "^1.0.0"
  }
}

What version of Node are you using?

~/tmp/npmotel1$ node --version
v12.21.0
~/tmp/npmotel1$ npm --version
7.13.0

Please provide the code you used to setup the OpenTelemetry SDK

n/a

What did you do?

Try to install an SDK package like @opentelemetry/tracing

$ npm install @opentelemetry/tracing@next

What did you expect to see?

Package should install

What did you see instead?

$ npm install @opentelemetry/tracing@next
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: npmotel1@1.0.0
npm ERR! Found: @opentelemetry/api@1.0.0
npm ERR! node_modules/@opentelemetry/api
npm ERR!   @opentelemetry/api@"^1.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @opentelemetry/api@"^0.21.0" from @opentelemetry/tracing@0.21.0
npm ERR! node_modules/@opentelemetry/tracing
npm ERR!   @opentelemetry/tracing@"0.21.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /usr/local/google/home/aaronabbott/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /usr/local/google/home/aaronabbott/.npm/_logs/2021-06-14T17_16_49_782Z-debug.log
@aabmass aabmass added the bug Something isn't working label Jun 14, 2021
@aabmass aabmass changed the title Can not be installed with @opentelemetry/api@1.0.0 SDK can not be installed with @opentelemetry/api@1.0.0 Jun 14, 2021
@vmarchaud
Copy link
Member

cc @dyladan don't know if you wanted to wait for a particular PR to release a SDK version compatible with 1.0 (which should stay in the 0.x version i expect) ?

@dyladan
Copy link
Member

dyladan commented Jun 16, 2021

yes we will keep it in the 0.x versions for now. I was not waiting for any particular PR

@aabmass
Copy link
Member Author

aabmass commented Jun 16, 2021

yes we will keep it in the 0.x versions for now. I was not waiting for any particular PR

Why not use the most recent and now stable 1.0.0 release though? If we want people to use 1.0.0, it should be compatible with some SDK.

@dyladan dyladan linked a pull request Jun 16, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants