You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new versions of package managers install the peer dependencies, by default, if not explicitly overridden by a flag (https://github.com/npm/rfcs/blob/main/implemented/0025-install-peer-deps.md). This causes an error when installing a package that references spicedb-common or playground-ui ('@material-ui/labs@^4.11.2' is not in this registry.).
Solution
I believe the intention was to target the @material-ui/lab. So it is sufficient to replace the corresponding lines to: "@material-ui/lab": "^4.0.0-alpha.61".
The text was updated successfully, but these errors were encountered:
The Issue
The JS packages
spicedb-common
andplayground-ui
contain peer dependency to@material-ui/labs
, which does not exist and is not used in the project: https://github.com/search?q=repo%3Aauthzed%2Fplayground+%40material-ui%2Flabs&type=codeWhy is it a problem
The new versions of package managers install the peer dependencies, by default, if not explicitly overridden by a flag (https://github.com/npm/rfcs/blob/main/implemented/0025-install-peer-deps.md). This causes an error when installing a package that references
spicedb-common
orplayground-ui
('@material-ui/labs@^4.11.2' is not in this registry.
).Solution
I believe the intention was to target the
@material-ui/lab
. So it is sufficient to replace the corresponding lines to:"@material-ui/lab": "^4.0.0-alpha.61"
.The text was updated successfully, but these errors were encountered: