We are changing an Ag Grid Community component to Enterprise , for which we ran the respective npm command
npm install --save ag-grid-enterprise
added the import to the enterprise
import { AgGridReact } from 'ag-grid-react';
import React, { useCallback, useEffect, useMemo, useRef } from 'react';
import 'ag-grid-enterprise';
import 'ag-grid-community/dist/styles/ag-grid.css';
the expectation was we get enterprise features onboard but now we get to see some error
package.json also looks fine
Found the solution for this issue, this was happening because we need to have the same version of ag-grid-community and ad-grid-enterprise once upgraded both of them to V29 , then it worked like a charm.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.