Next.js Discord

Discord Forum

a weird error

Unanswered
Cape horse mackerel posted this in #help-forum
Open in Discord
Cape horse mackerelOP
help

8 Replies

Cape horse mackerelOP
@Cape horse mackerel Click to see attachment
try upgrading all of chakra-ui/system and chakra-ui/icons and react and react-dom
@joulev try upgrading all of chakra-ui/system and chakra-ui/icons and react and react-dom
Cape horse mackerelOP
npm update does not appear to function
it gives huge errors
@Cape horse mackerel `npm update` does not appear to function
idk what npm update does – haven't used it for ages, but you can look up the latest version number of those packages in the websites of those packages
or use something like npm-check-updates
Cape horse mackerelOP
Yes, it appears that many of the dependencies were outdated
@Cape horse mackerel Yes, it appears that many of the dependencies were outdated
1. you should upgrade your dependencies more often
2. each of the red is a breaking change. read the release note of each major update (e.g. 5.x.y to 6.z.t). you most likely have to update a lot in your code