Open
Description
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
- Go to any repo without the dependency
@guardian/eslint-config-typescript
- Run
yarn add -D @guardian/eslint-config-typescript
to add the latest version - 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
Metadata
Metadata
Assignees
Labels
No labels