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

Error on yarn add @guardian/eslint-config-typescript #387

Open
arelra opened this issue Jan 26, 2023 · 0 comments
Open

Error on yarn add @guardian/eslint-config-typescript #387

arelra opened this issue Jan 26, 2023 · 0 comments

Comments

@arelra
Copy link
Member

arelra commented Jan 26, 2023

Describe the bug

Attempting yarn add -D @guardian/eslint-config-typescript to elements-manager results in the following error:

could not find a copy of typescript to link in

The same error was also encountered by @kenoir: guardian/security-hq#755 (comment)

These links might be relevant:
yarnpkg/yarn#6285
yarnpkg/yarn#6285 (comment)

Downgrading to v2.0.0 fixes the problem.

To Reproduce

  1. Go to any repo without the dependency @guardian/eslint-config-typescript
  2. Run yarn add -D @guardian/eslint-config-typescript to add the latest version
  3. Should see the error: could not find a copy of typescript to link in

Expected behavior

The latest version should install without error

Environment (please complete the following information):

  • Platform: macOS 13.0.1
  • Node manager: fnm
  • Package manager: yarn 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant