Is Kendo React support dependencies installed with yarn? or we need to install all the dependencies with npm only?

1 Answer 40 Views
General Discussions Grid
Prafulla
Top achievements
Rank 1
Prafulla asked on 01 Feb 2024, 10:07 AM

I wanted to add data grid in my existing project. where all the dependencies are installed with yarn
so I installed the kendo-react-grid dependency with yarn and i am getting the error.

here is the code. 

 

import * as React from "react";import * as ReactDOM from "react-dom";import { Grid, GridColumn } from "@progress/kendo-react-grid";import products from "./products.json";
export const KindoRactApp = () => {  return (    <Grid style={{ height: "400px" }} data={products}>      <GridColumn field="ProductID" title="ID" width="40px" />      <GridColumn field="ProductName" title="Name" width="250px" />      <GridColumn field="Category.CategoryName" title="CategoryName" />      <GridColumn field="UnitPrice" title="Price" />      <GridColumn field="UnitsInStock" title="In stock" />    </Grid>  );};

 

 

this is the error 

image

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 05 Feb 2024, 09:28 AM

Hello, Prafulla,

The KendoReact packages can be installed both with `npm i` and `yarn` commands. For convenience I am attaching a working sample based on the provided setup to this reply. Can you compare its whole setup with your actual one and see how they differ(in terms of versioning, etc.)?

I this does not help, can you send me a runnable sample where I can reproduce the error so I can advise you further on resolving it?

Regards,
Vessy
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources!

Tags
General Discussions Grid
Asked by
Prafulla
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or