glide-data-grid icon indicating copy to clipboard operation
glide-data-grid copied to clipboard

[Bug] Issue with peer dependencies unables fresh installation

Open rferreira98 opened this issue 1 year ago • 6 comments

npm resolution error report

While resolving: @glideapps/[email protected] Found: [email protected] node_modules/marked marked@"^12.0.1" from the root project

Could not resolve dependency: peer marked@"^4.0.10" from @glideapps/[email protected] node_modules/@glideapps/glide-data-grid @glideapps/glide-data-grid@"^6.0.3" from the root project

Conflicting peer dependency: [email protected] node_modules/marked peer marked@"^4.0.10" from @glideapps/[email protected] node_modules/@glideapps/glide-data-grid @glideapps/glide-data-grid@"^6.0.3" from the root project

Fix the upstream dependency conflict, or retry this command with --force or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.

rferreira98 avatar Mar 14 '24 14:03 rferreira98

@rferreira98 Hey! I got the same error when I started updating packages in my project. Did you find any solution?

jtuvaleva avatar Jun 14 '24 09:06 jtuvaleva

@jtuvaleva I simply installed the old version of this package that matches "^4.0.10"

snowy-owll avatar Jun 14 '24 09:06 snowy-owll

We want to use glide grid in our project. But we also have marked 12.0.1 installed. So is there any plans updating marked version or removing it from peer dependencies?

Vd-centaurea avatar Jun 20 '24 08:06 Vd-centaurea

The docs also advocate for installing the latest version of marked, which maybe a culprit causing the dependency issue for many of us here. Is there a plan to update this as well?

npm i lodash marked react-responsive-carousel

https://docs.grid.glideapps.com/extended-quickstart-guide

leehol avatar Jul 25 '24 13:07 leehol

Hi Also had same issue, downgrading solved it but curious if any other fix has come about in the past few months.

MilanSapkota04 avatar Sep 27 '24 20:09 MilanSapkota04

having the same issue, are there plans to resolve this?

DineshTeja avatar Jan 22 '25 18:01 DineshTeja

Hi @lukasmasuch

I guess we can close the issue?

since merged PR should address the issue?

ImmortalRabbit avatar Aug 08 '25 23:08 ImmortalRabbit

Yep :)

lukasmasuch avatar Aug 08 '25 23:08 lukasmasuch

Yep :) should be resolved with 6.0.4-alpha18

lukasmasuch avatar Aug 08 '25 23:08 lukasmasuch