Peer dependency warnings

I tried upgrading from Redwood 4.x to 5.4 recently, and ran into a lot of yarn warnings like the following:

➤ YN0002: │ web@workspace:web doesn’t provide graphql (pdd3bb), requested by @redwoodjs/forms
➤ YN0060: │ web@workspace:web provides react (p8266b) with version 18.2.0, which doesn’t satisfy what @redwoodjs/router and some of its descendants request
➤ YN0060: │ web@workspace:web provides react-dom (pf8b75) with version 18.2.0, which doesn’t satisfy what @redwoodjs/router and some of its descendants request
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements for details, where is the six-letter p-prefixed code

I also saw these when starting with a fresh install of the redwood 6 RC (using yarn create redwood-app) and then doing a yarn install of the mantine library.

I’m new to JS/yarn/react/etc so I don’t know whether I need to do anything with the massive list of peer dependancy warnings. (I was also getting errors trying to run my project when upgrading to 5.4; that’s why I’m trying a fresh start).

P.S. Here’s a full trace of what gets output when install a new package; here adding clerk for auth (again, this is on top of a redwood 6 RC, but it seemed similar in 5.4):


❯ yarn add @clerk/clerk-js                                                                                                                                         [14:24:16]
➤ YN0000: ┌ Resolution step
➤ YN0002: │ @clerk/clerk-js@npm:4.52.1 [dc3fc] doesn't provide react-dom (p1fff9), requested by @floating-ui/react
➤ YN0002: │ @graphql-tools/graphql-tag-pluck@npm:7.5.2 [12c5f] doesn't provide @babel/core (p760d4), requested by @babel/plugin-syntax-import-assertions
➤ YN0002: │ @mantine/core@npm:6.0.16 [dc3fc] doesn't provide @emotion/react (p0cb9b), requested by @mantine/styles
➤ YN0002: │ @redwoodjs/api-server@npm:6.0.0-rc.615 doesn't provide @babel/core (p85c49), requested by @babel/plugin-transform-runtime
➤ YN0002: │ @redwoodjs/cli@npm:6.0.0-rc.615 doesn't provide react (peebe2), requested by @redwoodjs/prerender
➤ YN0002: │ @redwoodjs/cli@npm:6.0.0-rc.615 doesn't provide react-dom (pc3f42), requested by @redwoodjs/prerender
➤ YN0002: │ @redwoodjs/core@npm:6.0.0-rc.615 doesn't provide @babel/eslint-parser (p73928), requested by @babel/eslint-plugin
➤ YN0002: │ @redwoodjs/core@npm:6.0.0-rc.615 doesn't provide eslint (p0e976), requested by @babel/eslint-plugin
➤ YN0002: │ @redwoodjs/eslint-config@npm:6.0.0-rc.615 doesn't provide babel-plugin-module-resolver (pb040f), requested by eslint-import-resolver-babel-module
➤ YN0002: │ @redwoodjs/internal@npm:6.0.0-rc.615 doesn't provide @babel/core (pe50f1), requested by @babel/plugin-transform-class-properties
➤ YN0002: │ @redwoodjs/internal@npm:6.0.0-rc.615 doesn't provide @babel/core (pe2582), requested by @babel/plugin-transform-private-methods
➤ YN0002: │ @redwoodjs/internal@npm:6.0.0-rc.615 doesn't provide @babel/core (p5b288), requested by @babel/plugin-transform-private-property-in-object
➤ YN0002: │ @redwoodjs/internal@npm:6.0.0-rc.615 doesn't provide @babel/core (p760cb), requested by @babel/plugin-transform-typescript
➤ YN0002: │ @redwoodjs/internal@npm:6.0.0-rc.615 doesn't provide @babel/core (pd67e7), requested by @babel/register
➤ YN0002: │ @redwoodjs/internal@npm:6.0.0-rc.615 doesn't provide @babel/core (p5e90a), requested by babel-plugin-graphql-tag
➤ YN0002: │ @redwoodjs/internal@npm:6.0.0-rc.615 doesn't provide @types/node (p77ae8), requested by ts-node
➤ YN0002: │ @redwoodjs/internal@npm:6.0.0-rc.615 doesn't provide graphql-tag (p2fce4), requested by @graphql-codegen/typescript-react-apollo
➤ YN0002: │ @redwoodjs/internal@npm:6.0.0-rc.615 doesn't provide graphql-tag (pe9b3c), requested by babel-plugin-graphql-tag
➤ YN0002: │ @redwoodjs/prerender@npm:6.0.0-rc.615 [b9696] doesn't provide prop-types (p239bb), requested by @redwoodjs/web
➤ YN0002: │ @redwoodjs/testing@npm:6.0.0-rc.615 doesn't provide @babel/core (p7b11f), requested by babel-jest
➤ YN0002: │ @redwoodjs/testing@npm:6.0.0-rc.615 doesn't provide @testing-library/dom (p33ecd), requested by @testing-library/user-event
➤ YN0002: │ @redwoodjs/testing@npm:6.0.0-rc.615 doesn't provide prop-types (p1b15e), requested by @redwoodjs/web
➤ YN0002: │ @redwoodjs/testing@npm:6.0.0-rc.615 doesn't provide react (pda3ed), requested by @redwoodjs/router
➤ YN0002: │ @redwoodjs/testing@npm:6.0.0-rc.615 doesn't provide react (p0f4b1), requested by @redwoodjs/web
➤ YN0002: │ @redwoodjs/testing@npm:6.0.0-rc.615 doesn't provide react (pd9f0f), requested by @testing-library/react
➤ YN0002: │ @redwoodjs/testing@npm:6.0.0-rc.615 doesn't provide react-dom (pf00ea), requested by @redwoodjs/router
➤ YN0002: │ @redwoodjs/testing@npm:6.0.0-rc.615 doesn't provide react-dom (p25f08), requested by @redwoodjs/web
➤ YN0002: │ @redwoodjs/testing@npm:6.0.0-rc.615 doesn't provide react-dom (pa0052), requested by @testing-library/react
➤ YN0002: │ react-hot-toast@npm:2.4.1 [0103a] doesn't provide csstype (pec559), requested by goober
➤ YN0002: │ react-hot-toast@npm:2.4.1 [79835] doesn't provide csstype (p4ed1f), requested by goober
➤ YN0002: │ react-hot-toast@npm:2.4.1 [e9382] doesn't provide csstype (pf5b13), requested by goober
➤ YN0060: │ root-workspace-0b6124@workspace:. provides embla-carousel-react (pab199) with version 8.0.0-rc08, which doesn't satisfy what @mantine/carousel requests
➤ YN0002: │ root-workspace-0b6124@workspace:. doesn't provide react (pf7f54), requested by @clerk/clerk-js
➤ YN0002: │ root-workspace-0b6124@workspace:. doesn't provide react (pcfbd0), requested by @emotion/react
➤ YN0002: │ root-workspace-0b6124@workspace:. doesn't provide react (pecf04), requested by @mantine/carousel
➤ YN0002: │ root-workspace-0b6124@workspace:. doesn't provide react (pb315e), requested by @mantine/core
➤ YN0002: │ root-workspace-0b6124@workspace:. doesn't provide react (p282f3), requested by @mantine/dates
➤ YN0002: │ root-workspace-0b6124@workspace:. doesn't provide react (p0773e), requested by @mantine/form
➤ YN0002: │ root-workspace-0b6124@workspace:. doesn't provide react (p21a6f), requested by @mantine/hooks
➤ YN0002: │ root-workspace-0b6124@workspace:. doesn't provide react (p36555), requested by @mantine/modals
➤ YN0002: │ root-workspace-0b6124@workspace:. doesn't provide react (pb6386), requested by @mantine/notifications
➤ YN0002: │ root-workspace-0b6124@workspace:. doesn't provide react (p5e7c3), requested by @mantine/nprogress
➤ YN0002: │ root-workspace-0b6124@workspace:. doesn't provide react (pf5c09), requested by embla-carousel-react
➤ YN0002: │ root-workspace-0b6124@workspace:. doesn't provide react-dom (p2f019), requested by @mantine/core
➤ YN0002: │ root-workspace-0b6124@workspace:. doesn't provide react-dom (p0c47c), requested by @mantine/modals
➤ YN0002: │ root-workspace-0b6124@workspace:. doesn't provide react-dom (p235c0), requested by @mantine/notifications
➤ YN0002: │ root-workspace-0b6124@workspace:. doesn't provide react-dom (p8b3fb), requested by @mantine/nprogress
➤ YN0002: │ web@workspace:web doesn't provide graphql (pdd3bb), requested by @redwoodjs/forms
➤ YN0060: │ web@workspace:web provides react (p8266b) with version 18.2.0, which doesn't satisfy what @redwoodjs/router and some of its descendants request
➤ YN0060: │ web@workspace:web provides react-dom (pf8b75) with version 18.2.0, which doesn't satisfy what @redwoodjs/router and some of its descendants request
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed in 1s 660ms
➤ YN0000: ┌ Fetch step
➤ YN0013: │ @zxcvbn-ts/language-common@npm:3.0.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ browser-tabs-lock@npm:1.2.15 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ copy-to-clipboard@npm:3.3.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ qrcode.react@npm:3.1.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ toggle-selection@npm:1.0.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0000: └ Completed in 0s 976ms
➤ YN0000: ┌ Link step
➤ YN0007: │ core-js@npm:3.26.1 must be built because it never has been before or the last one failed
➤ YN0007: │ browser-tabs-lock@npm:1.2.15 must be built because it never has been before or the last one failed
➤ YN0000: └ Completed in 1s 318ms
➤ YN0000: Done with warnings in 4s 163ms

Should I be concerned with these warnings or is this just normal yarn stuff I’m supposed to ignore?

Yes, I had the same question yesterday and it seems these are harmless.
More details here

Thanks so much. Yes, at least locally things are running fine now even with the warnings, but it certainly was making me feel I had broken something; I guess these were red herrings.