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] Fix ts-scripts error when upgrading using yarn #3902

Open
sotojn opened this issue Jan 13, 2025 · 0 comments
Open

[bug] Fix ts-scripts error when upgrading using yarn #3902

sotojn opened this issue Jan 13, 2025 · 0 comments
Assignees

Comments

@sotojn
Copy link
Contributor

sotojn commented Jan 13, 2025

I get this error now when I try to update scripts using yarn upgrade in a separate repo that has it as a dependency. Specifically version v1.9.0

Invariant Violation: expected workspace package to exist for "typedoc"
    at invariant (/Users/jsoto/.nvm/versions/node/v18.20.5/lib/node_modules/yarn/lib/cli.js:2318:15)
    at _loop2 (/Users/jsoto/.nvm/versions/node/v18.20.5/lib/node_modules/yarn/lib/cli.js:91560:9)
    at PackageHoister.init (/Users/jsoto/.nvm/versions/node/v18.20.5/lib/node_modules/yarn/lib/cli.js:91619:19)
    at PackageLinker.getFlatHoistedTree (/Users/jsoto/.nvm/versions/node/v18.20.5/lib/node_modules/yarn/lib/cli.js:48551:20)
    at PackageLinker.<anonymous> (/Users/jsoto/.nvm/versions/node/v18.20.5/lib/node_modules/yarn/lib/cli.js:48562:27)
    at Generator.next (<anonymous>)
    at step (/Users/jsoto/.nvm/versions/node/v18.20.5/lib/node_modules/yarn/lib/cli.js:310:30)
    at /Users/jsoto/.nvm/versions/node/v18.20.5/lib/node_modules/yarn/lib/cli.js:328:14
    at new Promise (<anonymous>)
    at new F (/Users/jsoto/.nvm/versions/node/v18.20.5/lib/node_modules/yarn/lib/cli.js:5539:28)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant