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?]: error TypeError: Cannot create property 'org' on string ''" #9055

Open
1 task
tiavina-mika opened this issue May 1, 2024 · 0 comments
Open
1 task
Labels

Comments

@tiavina-mika
Copy link

tiavina-mika commented May 1, 2024

Self-service

  • I'd be willing to implement a fix

Describe the bug

when running any yarn command (ex: yarn, yarn add, ...), I got this error error TypeError: Cannot create property 'org' on string "".

Here is the complete log:

error TypeError: Cannot create property 'org' on string ''
    at set (C:\Users\ASUS\AppData\Roaming\nvm\v20.12.2\node_modules\yarn\lib\cli.js:53953:28)
    at set (C:\Users\ASUS\AppData\Roaming\nvm\v20.12.2\node_modules\yarn\lib\cli.js:53967:14)
    at set (C:\Users\ASUS\AppData\Roaming\nvm\v20.12.2\node_modules\yarn\lib\cli.js:53967:14)
    at set (C:\Users\ASUS\AppData\Roaming\nvm\v20.12.2\node_modules\yarn\lib\cli.js:53947:16)
    at objectPath.set (C:\Users\ASUS\AppData\Roaming\nvm\v20.12.2\node_modules\yarn\lib\cli.js:54000:14)
    at NpmRegistry.mergeEnv (C:\Users\ASUS\AppData\Roaming\nvm\v20.12.2\node_modules\yarn\lib\cli.js:92680:18)
    at NpmRegistry.<anonymous> (C:\Users\ASUS\AppData\Roaming\nvm\v20.12.2\node_modules\yarn\lib\cli.js:31952:12)
    at Generator.next (<anonymous>)
    at step (C:\Users\ASUS\AppData\Roaming\nvm\v20.12.2\node_modules\yarn\lib\cli.js:310:30)
    at C:\Users\ASUS\AppData\Roaming\nvm\v20.12.2\node_modules\yarn\lib\cli.js:328:14

To reproduce

On any project using yarn v1.22.22 and Node v20.12.2,
run yarn

Environment

System:
OS: Windows 10

Binaries:
Node: 20.12.2
Yarn: 1.22.22
npm: 10.5.0
nvm: 1.1.9

Additional context

No response

@merceyz merceyz transferred this issue from yarnpkg/berry May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant