sunny-green
sunny-greenโ€ข2y ago

Error with peer dependencies during pipeline

Hello! ๐Ÿ™‚ I'm having a problem during pipeline with the peer deps refine wants.. I've just upgraded to the latest mantine 5.10.0, but it looks like @pankod/refine-mantine@1.15.4 still wants mantine 5.5.6.. is it possible to change to be 5.5.6 or newer? This is the pipeline error
npm ERR! Found: @mantine/core@5.5.6
npm ERR! node_modules/@mantine/core
npm ERR! @mantine/core@"5.10.0" from the root project
npm ERR! peer @mantine/core@"5.5.6" from @mantine/notifications@5.5.6
npm ERR! node_modules/@mantine/notifications
npm ERR! @mantine/notifications@"5.10.0" from the root project
npm ERR! @mantine/notifications@"^5.5.6" from @pankod/refine-mantine@1.15.4
npm ERR! node_modules/@pankod/refine-mantine
npm ERR! @pankod/refine-mantine@"1.15.4" from the root project
npm ERR! 1 more (@pankod/refine-mantine)
npm ERR! Found: @mantine/core@5.5.6
npm ERR! node_modules/@mantine/core
npm ERR! @mantine/core@"5.10.0" from the root project
npm ERR! peer @mantine/core@"5.5.6" from @mantine/notifications@5.5.6
npm ERR! node_modules/@mantine/notifications
npm ERR! @mantine/notifications@"5.10.0" from the root project
npm ERR! @mantine/notifications@"^5.5.6" from @pankod/refine-mantine@1.15.4
npm ERR! node_modules/@pankod/refine-mantine
npm ERR! @pankod/refine-mantine@"1.15.4" from the root project
npm ERR! 1 more (@pankod/refine-mantine)
4 Replies
conscious-sapphire
conscious-sapphireโ€ข2y ago
Hey @kino90 We need to review the migration guide. Can you open an issue for this?
Omer
Omerโ€ข2y ago
Hey @kino90 , Did you upgrade all the mantine dependencies? https://github.com/refinedev/refine/blob/next/packages/mantine/package.json#L53
GitHub
refine/package.json at next ยท refinedev/refine
Build your React-based CRUD applications, without constraints. - refine/package.json at next ยท refinedev/refine
sunny-green
sunny-greenOPโ€ข2y ago
"@mantine/core": "5.10.0",
"@mantine/dates": "5.10.0",
"@mantine/dropzone": "5.10.0",
"@mantine/form": "5.10.0",
"@mantine/hooks": "5.10.0",
"@mantine/modals": "5.10.0",
"@mantine/notifications": "5.10.0",
"@pankod/refine-core": "3.94.2",
"@pankod/refine-mantine": "1.15.4",
"@pankod/refine-react-router-v6": "3.38.0",
"@pankod/refine-react-table": "4.9.0",
"@tabler/icons": "1.119.0",
"@mantine/core": "5.10.0",
"@mantine/dates": "5.10.0",
"@mantine/dropzone": "5.10.0",
"@mantine/form": "5.10.0",
"@mantine/hooks": "5.10.0",
"@mantine/modals": "5.10.0",
"@mantine/notifications": "5.10.0",
"@pankod/refine-core": "3.94.2",
"@pankod/refine-mantine": "1.15.4",
"@pankod/refine-react-router-v6": "3.38.0",
"@pankod/refine-react-table": "4.9.0",
"@tabler/icons": "1.119.0",
Updated yesterday to all latest versions
provincial-silver
provincial-silverโ€ข2y ago
Hey @kino90, any chance to try removing node_modules and the lock files and try again? (Make sure you backup the lock file ๐Ÿคฃ )