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

[Bug?]: Does not upgrate to 3.0.2 #3436

Closed
1 task
D4nte opened this issue Sep 14, 2021 · 2 comments
Closed
1 task

[Bug?]: Does not upgrate to 3.0.2 #3436

D4nte opened this issue Sep 14, 2021 · 2 comments
Labels
bug Something isn't working waiting for feedback Will autoclose in a while unless more data are provided

Comments

@D4nte
Copy link

D4nte commented Sep 14, 2021

Self-service

  • I'd be willing to implement a fix

Describe the bug

Trying to upgrade to yarn 3.0.2 to get this fix: #3350

However it does not help as I still get [email protected].

To reproduce

▶ yarn set version berry && yarn
➤ YN0000: Retrieving https://repo.yarnpkg.com/3.0.2/packages/yarnpkg-cli/bin/yarn.js
➤ YN0000: Saving the new release in ../../.yarn/releases/yarn-3.0.2.cjs
➤ YN0000: Done in 0s 502ms
➤ YN0000: ┌ Resolution step
➤ YN0002: │ dns-over-http-resolver@npm:1.2.3 doesn't provide node-fetch (p89343), requested by native-fetch
➤ 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 338ms
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed
➤ YN0000: Done with warnings in 0s 604ms

▶ yarn --version
3.0.1

Error #3350 still occurs too (fixed by downgrading to TS 4.3).

Environment

System:
- Linux 5.10.61-1-MANJARO #1 SMP PREEMPT Thu Aug 26 20:36:54 UTC 2021 x86_64 GNU/Linux
Binaries:
- Node: /home/froyer/.nvm/versions/node/v14.17.5/bin/node
- Yarn ? (that's the issue)

Additional context

No response

@D4nte D4nte added the bug Something isn't working label Sep 14, 2021
@merceyz
Copy link
Member

merceyz commented Sep 14, 2021

Check if you have any .yarnrc.yml files higher up the file tree that specifies a different version, specifically your home directory.

@merceyz merceyz added the waiting for feedback Will autoclose in a while unless more data are provided label Sep 14, 2021
@D4nte
Copy link
Author

D4nte commented Sep 15, 2021

Yeay, thanks. I did have a rogue .yarnrc.yml file in a folder above, I must have run a yarn command at the wrong location at some point. Problem solved.

@D4nte D4nte closed this as completed Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting for feedback Will autoclose in a while unless more data are provided
Projects
None yet
Development

No branches or pull requests

2 participants