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

Unable to install sdk for vscode #6265

Closed
1 task
wmonecke opened this issue May 2, 2024 · 2 comments · Fixed by #6266
Closed
1 task

Unable to install sdk for vscode #6265

wmonecke opened this issue May 2, 2024 · 2 comments · Fixed by #6266
Labels
bug Something isn't working

Comments

@wmonecke
Copy link

wmonecke commented May 2, 2024

Self-service

  • I'd be willing to implement a fix

Describe the bug

Unable to install sdk for vscode

When I run the command:

 yarn dlx @yarnpkg/sdks vscode

I get the following:

wmonecke@SP-WJM1  ~/Documents/Code/monorepo   main  yarn dlx @yarnpkg/sdks vscode
➤ YN0000: · Yarn 4.2.0
➤ YN0000: ┌ Resolution step
➤ YN0085: │ + @yarnpkg/sdks@npm:3.1.1, @arcanis/slice-ansi@npm:1.1.1, @nodelib/fs.scandir@npm:2.1.5, @nodelib/fs.stat@npm:2.0.5, @nodelib/fs.walk@npm:1.2.8, and 100 more.
➤ YN0000: └ Completed in 3s 806ms
➤ YN0000: ┌ Fetch step
➤ YN0013: │ 105 packages were added to the project (+ 8.56 MiB).
➤ YN0000: └ Completed
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed in 0s 497ms
➤ YN0000: · Done in 4s 410ms

/private/var/folders/4p/s9qfxjl10v34r3bhvtfnbcxh0000gn/T/xfs-e007434c/dlx-31053/.pnp.cjs:6643
    throw firstError;
    ^

Error: Qualified path resolution failed: we looked for the following paths, but none could be accessed.

Source path: /private/var/folders/4p/s9qfxjl10v34r3bhvtfnbcxh0000gn/T/xfs-e007434c/dlx-31053/.yarn/cache/@yarnpkg-sdks-npm-3.1.1-3e014ef13a-9893f46efc.zip/node_modules/@yarnpkg/sdks/lib/cli.js
Not found: /private/var/folders/4p/s9qfxjl10v34r3bhvtfnbcxh0000gn/T/xfs-e007434c/dlx-31053/.yarn/cache/@yarnpkg-sdks-npm-3.1.1-3e014ef13a-9893f46efc.zip/node_modules/@yarnpkg/sdks/lib/cli.js
Not found: /private/var/folders/4p/s9qfxjl10v34r3bhvtfnbcxh0000gn/T/xfs-e007434c/dlx-31053/.yarn/cache/@yarnpkg-sdks-npm-3.1.1-3e014ef13a-9893f46efc.zip/node_modules/@yarnpkg/sdks/lib/cli.js.js
Not found: /private/var/folders/4p/s9qfxjl10v34r3bhvtfnbcxh0000gn/T/xfs-e007434c/dlx-31053/.yarn/cache/@yarnpkg-sdks-npm-3.1.1-3e014ef13a-9893f46efc.zip/node_modules/@yarnpkg/sdks/lib/cli.js.json
Not found: /private/var/folders/4p/s9qfxjl10v34r3bhvtfnbcxh0000gn/T/xfs-e007434c/dlx-31053/.yarn/cache/@yarnpkg-sdks-npm-3.1.1-3e014ef13a-9893f46efc.zip/node_modules/@yarnpkg/sdks/lib/cli.js.node

    at require$$0.Module._resolveFilename (/private/var/folders/4p/s9qfxjl10v34r3bhvtfnbcxh0000gn/T/xfs-e007434c/dlx-31053/.pnp.cjs:6642:13)
    at Module._load (node:internal/modules/cjs/loader:984:27)
    at require$$0.Module._load (/private/var/folders/4p/s9qfxjl10v34r3bhvtfnbcxh0000gn/T/xfs-e007434c/dlx-31053/.pnp.cjs:6533:31)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
    at node:internal/main/run_main_module:28:49

Node.js v20.12.2

To reproduce

Simply run yarn dlx @yarnpkg/sdks vscode

Environment

System:
    OS: macOS 14.4.1
    CPU: (8) arm64 Apple M1 Pro
  Binaries:
    Node: 20.12.2 - /private/var/folders/4p/s9qfxjl10v34r3bhvtfnbcxh0000gn/T/xfs-5be6c121/node
    Yarn: 4.2.0 - /private/var/folders/4p/s9qfxjl10v34r3bhvtfnbcxh0000gn/T/xfs-5be6c121/yarn
    npm: 10.5.0 - ~/.nvm/versions/node/v20.12.2/bin/npm
    pnpm: 9.0.6 - ~/Library/pnpm/pnpm

Additional context

No response

@wmonecke wmonecke added the bug Something isn't working label May 2, 2024
arcanis pushed a commit that referenced this issue May 2, 2024
**What's the problem this PR addresses?**

#6133 (cc @clemyan) enabled
`noEmit` by default which caused `yarn pack` to not get any build
output.

Fixes #6265

**How did you fix it?**

Explicitly set `noEmit: false` in the build script.

**Checklist**
- [x] I have read the [Contributing
Guide](https://yarnpkg.com/advanced/contributing).
- [x] I have set the packages that need to be released for my changes to
be effective.
- [x] I will check that all automated PR checks pass before the PR gets
reviewed.
@wmonecke
Copy link
Author

wmonecke commented May 2, 2024

@arcanis how exactly could I fix my issue?

@merceyz
Copy link
Member

merceyz commented May 2, 2024

Wait about 10 minutes for https://github.com/yarnpkg/berry/actions/runs/8928170373 to finish releasing the fix then try again.

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.

2 participants