We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

error with syncfusion in prod build operations.

Hi

We are implementing syncfusion framework for the first time in our Angular Application. When we build our application on a local machine, everything works fine.

Once it is pushed to server (with "ng build --prod") we are getting "ht.createInput is not a function" and "fn.addSorting is not a function" errors. - Screenshots of the error s are attached to this thread.

Could you please help us resolving this.

Attachment: screenshot_d75b4d3d.zip

3 Replies

PO Prince Oliver Syncfusion Team November 22, 2018 03:55 PM UTC

Hi Chaitanya, 
 
Thank you for contacting Syncfusion support. 
 
We have checked the reported issue. Unfortunately, we were not able to reproduce the reported issue with the latest EJ 2 NPM version (16.3.33) at our end. Angular application with EJ 2 DateRangePicker controls, is working properly and not throwing any scripts while building the application in the production mode. For your convenience, we have prepared a sample application with EJ DateRangePicker.  
 
Please, find the sample from the below link. 
 
 
If the issue persists in your end, please provide us the following details. 
 
  • Your current EJ2 NPM package version.
  • Angular version.
 
The above information will help us to detect the cause of the reported issue and provide you solution at the earliest. 
 
Regards, 
Prince 



AK Ali Kholmatov October 1, 2019 10:49 AM UTC

Hi , I have the same problem with prod  "@syncfusion/ej2-angular-calendars": "17.2.49",



BC Berly Christopher Syncfusion Team October 2, 2019 04:58 PM UTC

Hi Ali,

 
Sorry for the inconvenience caused.


We have checked the reported issue in the product version "17.2.49". Unfortunately, we were not able to reproduce the reported issue at our end. Angular application with EJ 2 DateRangePicker component, is working properly and not throwing any scripts while building the application in the production mode. For your convenience, we have prepared a sample application with EJ 2 DateRangePicker.  

 

 
Also, we have prepared the video demonstration in the below link.


 
Can you please check the above sample and still issue persists, please revert us with below details that will help us to check and provide the exact solution at our end. 
  1. Angular CLI version
  2. Angular Devkit version
  3. Issue reproducing sample
  4. Package.json and angular.json file

Regards,
Berly B.C


Loader.
Live Chat Icon For mobile
Up arrow icon