- Home
- Forum
- React - EJ 2
- Next.js License Problem
Next.js License Problem
I use Next.js and App Router.
I took the license key from Claim License Key, and I use the Community License.
My npm dependencies are:
"@syncfusion/ej2-base": "~29.2.4",
"@syncfusion/ej2-react-buttons": "~29.2.5",
"@syncfusion/ej2-react-charts": "~29.2.8",
"@syncfusion/ej2-react-dropdowns": "~29.2.8",
"@syncfusion/ej2-react-grids": "~29.2.8",
"@syncfusion/ej2-react-maps": "~29.2.4",
"@syncfusion/ej2-react-navigations": "~29.2.8",
"@syncfusion/ej2-react-splitbuttons": "~29.2.4",
I put the register license in a component to render on the client side, and I put it in app/layout.tsx like the below images:
It still displays the error like "This application was built using a trial version of Syncfusion® Essential Studio®. To remove the license validation message permanently, a valid license key must be included. Claim your free account"
Hi Harry Huynh,
Upon reviewing your packages shared, we noticed that the ej2-base dependency. These are sub-dependent packages and will be automatically installed with our React component packages. So, only including our React component package is sufficient.
npx command as an alternative approach. Please find below the documentation link for registering the license through the npx command:- Delete the @Syncfusion folder from node_modules and the package-lock.json file, .next folder (if exists) from the root folder.
- Clear the npm cache file at your end: npm cache clean --force.
- Update our packages to the same major version. For example, if you are using a version like (i.e., v27.1.XX), use the same version for all the Syncfusion components in the package.json file.
- Run the ‘’npm install” command to install the Syncfusion packages again.
Regards,
Deepika
- 1 Reply
- 2 Participants
-
HH Harry Huynh
- Jun 6, 2025 02:23 PM UTC
- Jun 10, 2025 09:37 AM UTC