Skip to content

Commit d23c1cb

Browse files
committed
docs: remove note about yarn deduplication issue with video.js
Resolves #222 by removing the yarn deduplication issue from the known issues article. The yarn deduplication issue on the `video.js` dependency is resolved, as `video.js` is now declared as a peerDependency on both `pllarbox-web` and `videojs-contrib-eme`.
1 parent 209577d commit d23c1cb

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

docs/api/tutorials/Known Issues.md

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -136,31 +136,4 @@ player.src({ src: 'urn:swi:video:48115940', type: 'srgssr/urn', disableTrackers:
136136
```
137137
Again, in this scenario you MUST NOT re-enable the tracking for `trackedPlayer`.
138138

139-
### Yarn Deduplication Issue
140-
141-
This section highlights a known issue with Yarn leading to multiple versions of `video.js` being
142-
installed in a project, contrary to npm's deduplication to a single version.
143-
144-
#### Issue Details
145-
146-
- **Scenario**: Cyclic dependencies involving `video.js` result in conflicting versions being
147-
installed via Yarn.
148-
- **Symptoms**: This causes compatibility issues, such as the `eme` plugin loading in only
149-
one `video.js` instance, leading to errors.
150-
151-
#### Workaround
152-
153-
To mitigate this issue, force Yarn to resolve `video.js` to a single version (`8.11.8`) by adding
154-
the following to your project's `package.json`:
155-
156-
```json
157-
"resolutions": {
158-
"video.js": "8.11.8"
159-
}
160-
```
161-
162-
See [Yarn's Manifest Resolutions][yarn-resolutions].
163-
164-
[yarn-resolutions]: https://yarnpkg.com/configuration/manifest#resolutions
165-
166139
[ios-bug]: https://bugs.webkit.org/show_bug.cgi?id=261512

0 commit comments

Comments
 (0)