- Home
- Forum
- Angular - EJ 2
- error with syncfusion in prod build operations.
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
SIGN IN To post a reply.
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.
Sample: http://www.syncfusion.com/downloads/support/forum/141046/ze/syncfusion-angular-app2106752340
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.
Sample Link: https://www.syncfusion.com/downloads/support/forum/147999/ze/syncfusion-angular-app1471811275
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.
-
Angular CLI version
-
Angular Devkit version
-
Issue reproducing sample
-
Package.json and angular.json file
Regards,
Berly B.C
SIGN IN To post a reply.
- 3 Replies
- 4 Participants
-
CH Chaitanya
- Nov 20, 2018 12:15 PM UTC
- Oct 2, 2019 04:58 PM UTC