- Home
- Forum
- Angular - EJ 2
- Cannot convert undefined or null to object at Function.keys
Cannot convert undefined or null to object at Function.keys
Prem Kumar M
Prem Kumar M
import
* as numberingSystems from
'../numberingSystems.json';
import
* as gregorian from
'../ca-gregorian.json';
import
* as numbers from
'../numbers.json';
import
* as detimeZoneNames from
'../timeZoneNames.json';
import
{ secondaryComponent } from './secondary.component';
loadCldr(numberingSystems, gregorian,
numbers, detimeZoneNames);
I'm getting this error in react with latest version 20.4.39 of schedule component after just upgrading.
We haven't used setCulture before, is that a requirement even just using 'en'
Hi Paul,
We have validated your query “I'm getting this error in react with latest version 20.4.39 of schedule component after just upgrading” at our end. We suspect that some duplicate packages might be installed in your ‘@syncfusion’ folder of ‘node_modules’ while upgrading to the latest version. So, we suggest you do the following steps to resolve the problem.
1. Delete the package.lock.json file from your application.
2. Remove the @syncfusion package folder from the node_modules.
3. Use the same version for all Syncfusion components in the package.json file.
4. Then install the new packages.
UG Link: https://ej2.syncfusion.com/react/documentation/common/how-to/update-npm-package/
If you still facing the same problem kindly share the issue reproducing sample if possible it will help us to provide the solution for your problem earlier.
Regards,
Ravikumar Venkatesan
- 13 Replies
- 9 Participants
-
SR Sarah Riethmüller
- Jul 2, 2018 03:20 PM UTC
- Oct 13, 2022 05:05 PM UTC