ag-Grid: toolPanel is only available in ag-Grid Enterprise - ag-grid

I am using Angular2 version.I am getting below error, when I am trying to upgrade to ag-grid-enterprise version. Written below code for setting up license key.
import { LicenseManager } from 'ag-grid-enterprise';
LicenseManager.setLicenseKey(xxx);
But I am getting the below error, when ever I am trying to use "ToolPanel" (enterprise) functionality,
'ag-Grid: toolPanel is only available in ag-Grid Enterprise.
Need your help on this, I have searched entire web and tried restarting the system and other measures suggested in the forum, but every time I am getting the above error.
Appreciate your help on this.

Follow the steps below for Enterprise ag-grid
npm install --save ag-grid-enterprise ag-grid-angular
Add import { AgGridModule } from 'ag-grid-angular'; import
'ag-grid-enterprise'; to app.module.ts

Related

How to use makeStyles in latest material-ui version 5 in React

I am using Material Ui version 5.2.7. When I import makeStyles from #mui/materials/styles, I am getting following error -
Uncaught Error: MUI: makeStyles is not longer exported from #mui/material/styles. You have to import it from #mui/styles. See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.
At also says that #mui/styles is deprecated in mui version 5. So I am confused how I can import makeStyles. Anyone have any idea on this?
I am using Material Ui version 5.2.7. When I import makeStyles from #mui/materials/styles, I am getting following error -
Uncaught Error: MUI: makeStyles is not longer exported from #mui/material/styles. You have to import it from #mui/styles. See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.
At also says that #mui/styles is deprecated in mui version 5. So I am confused how I can import makeStyles. Anyone have any idea on this?
As Error says
install
npm install #mui/material #mui/styles
or
yarn add #mui/material #mui/styles
import
import { makeStyles } from '#mui/styles';

Flutter error: GooglePayButton is imported from both 'flutter_stripe' and a 'pay' packages

I'm learning how to install GooglePay into a Flutter app. Several tutorials have said to import two packages:
import 'package:my_app/flutter_stripe.dart';
import 'package:pay/pay.dart';
But both packages have a GooglePayButton. Calling this method results in this conflict:
Error: 'GooglePayButton' is imported from both 'package:flutter_stripe/src/widgets/google_pay_button.dart' and 'package:pay/pay.dart'.
The flutter_stripe documentation says
flutter_stripe fully supports the Pay plugin from the Google Pay team.
Does that mean we should import both packages? I'm using Pay 1.08 and flutter_stripe 2.1.1.
Make One Like This:
import 'package:my_app/flutter_stripe.dart' as Stripe;
import 'package:pay/pay.dart';
Now you can call it as Stripe So it wont conflict

SwiftUI: No such Module 'FirebaseAuth'

I've run into a strange issue when trying to setup Firebase sign in with Apple functionality in my app.
It is required to import FirebaseAuth for OAuth functionality. When I try importing it I get the error : "No such Module 'FirebaseAuth'". I have added the package dependencies with package manager and FirebaseAuth is there... but it still gives the error. See screenshot below.
Simply importing Firebase does not give an import error, however I still get errors when trying to use the Authentication functionality. See screenshot below
I've looked for solutions elsewhere but others who have had the same issue as me used Cocoapods to install the packages so their solutions don't apply here.
I am using Xcode 13.0
I fixed the issue by adding FirebaseAuth dependency in build phases:

How to fix "Elastigantt is not defined" error in Vue.js(laravel)

I installed one package in our laravel project i.e. npm install --save gantt-elastic, when i tried to implement in my Vue component it shows me error "Elastigantt is not defined" not able to identify the issue. please help me out from this.
https://vuejsexamples.com/elastic-gantt-chart-with-vue-js/
update gantt-elastic to latest version :]
check examples folder to figure out how to integrate gantt in your project
https://github.com/neuronetio/gantt-elastic

ionic storage module giving OpaqueToken error with angular 5

I have updated my ionic project to angular 5 and i got the below error with many ionic native plugins..
angular/core/core"' has no exported member 'OpaqueToken
Resolved all of the issues after updating to the latest version , except for ionic-storage.
Still its giving this error
node_modules/#ionic/storage/es2015/storage.d.ts import { OpaqueToken }
from '#angular/core';
node_modules/#angular/core/core"' has no exported member 'OpaqueToken'.
We can see one open issue #github (142) but no fix or workaround found.
You can solve this issue by upgrading #ionic/storage to version 2.1.2 or higher.
Update (context):
OpaqueToken was removed in Angular v5 (it's been deprecated since
Angular v4). The corresponding change in the #ionic/storage package was done in this change as part of the 2.1.2 update.