-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Bug?]: YN0082: │ @microsoft/kiota-abstractions@npm:*: No candidates found #6469
Comments
Hi from the kiota team here 👋 yarn add @microsoft/kiota-bundle
➤ YN0000: · Yarn 4.4.1
➤ YN0000: ┌ Resolution step
➤ YN0082: │ @microsoft/kiota-abstractions@npm:*: No candidates found
➤ YN0000: └ Completed in 0s 253ms
➤ YN0000: · Failed with errors in 0s 269ms I've also tried clearing the cache and whatnot. Is it possible the yarn registry is not indexing new packages properly/lagging? (I have not used yarn in a while, not sure whether there's some kind of proxy/registry that facades npm like go does) |
All versions of Looks like pnpm just treat Maybe we can do that, or use |
I think it'd make sense to tolerate the prerelease versions until at least one stable is released. We can't make |
To be clear, you are saying if the range is |
That's what I'm thinking, yes |
Is there any workaround for this? I'm also having an issue with @microsoft/kiota-bundle. |
@zZHorizonZz You can use resolutions to bypass the default resolution algorithm, e.g.: "resolutions": {
"@microsoft/kiota-abstractions": "npm:latest"
}, |
Self-service
Describe the bug
I am unable to install
"@microsoft/msgraph-sdk": "1.0.0-preview.27"
with yarn, I have no problem installing the package withnpm
orpnpm
.Package clearly exists here https://www.npmjs.com/package/@microsoft/kiota-abstractions
To reproduce
yarn add @microsoft/[email protected]
Environment
System: OS: macOS 14.5 CPU: (10) arm64 Apple M1 Pro Binaries: Node: 20.8.0 - /private/var/folders/79/bvt24ns10_n58z24g_klmhmm0000gn/T/xfs-e8c196ba/node Yarn: 4.4.0 - /private/var/folders/79/bvt24ns10_n58z24g_klmhmm0000gn/T/xfs-e8c196ba/yarn npm: 10.1.0 - ~/.asdf/plugins/nodejs/shims/npm
Additional context
I tried yarn versions 3.6.4, 3.8.4, 4.4.0.
Deleted the metadata
yarn cache clean --all && rm -rf $(yarn config get globalFolder)/metadata
as per #5989The text was updated successfully, but these errors were encountered: