Hi there,
I noticed that a bunch of atlaskit packages recently started relying on @atlassian/repo-feature-flags, which is a private package. These other packages subsequently fail to install.
That package is dependend upon by @atlaskit/enforce-peer-dependencies since version 1.0.2, released ~21 hours ago at this point.
This breaks all newer package versions depending on @atlaskit/enforce-peer-dependencies, which currently include:
- @atlaskit/reduced-ui-pack
- @atlaskit/editor-plugin-card
- @atlaskit/editor-common
- @atlaskit/renderer
- @atlaskit/editor-mobile-bridge
- @atlaskit/editor-card-provider
- @atlaskit/link-analytics
- @atlaskit/link-client-extension
- @atlaskit/media-table
- @atlaskit/media-client
- @atlaskit/media-picker
- @atlaskit/media-filmstrip
- @atlaskit/editor-core
- @atlaskit/dependency-version-analytics
- @atlaskit/media-test-helpers
- @atlaskit/smart-card
The error message generated by npm (for SEO):
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@atlassian%2frepo-feature-flags - Not found
npm ERR! 404
npm ERR! 404 '@atlassian/repo-feature-flags@*' is not in this registry.
The error message generated by yarn (v1):
error Couldn't find package "@atlassian/repo-feature-flags@*" required by "@atlaskit/enforce-peer-dependencies@^1.0.1" on the "npm" registry.
As a workaround, you can pin @atlaskit/enforce-peer-dependencies to version 1.0.1, which does not have the dependency on the private package yet.
You can either use the resolutions
field in your package.json
(recommended):
"resolutions": {
"@atlaskit/enforce-peer-dependencies": "1.0.1"
}
Or manually adjust the versions in your lockfile
Atlassian: Could you please remove the references to the private package from public atlaskit packages again ?
Cheers,
Tobi from resolution