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
close icon

Update to 17.2.49 (from 17.1.48) 'str.match is not a function'

Hi,

I'm updating the scheduler from 17.1.48 to 17.2.49. Do I have to change the code? Is there an update guide?
I have deleted the /node_modules/@syncfusion directory but I still get an error:

error: TypeError: "str.match is not a function"
stack:
    evalExp template.js:69
    compile template.js:56
    compile template-engine.js:130
    compile template-engine.js:21
    templateParser schedule.js:810
    initializeTemplates schedule.js:387
    initializeView schedule.js:379
    renderElements schedule.js:233
    refreshLayout resource.js:495
    dataManagerSuccess resource.js:472
    bindResourcesData resource.js:459



3 Replies

KK Karthigeyan Krishnamurthi Syncfusion Team October 1, 2019 10:07 AM UTC

Hi Arwin, 

Syncfusion greetings. 

We suspect that some duplicate packages might be installed in your ‘@syncfusion’ folder of ‘node_modules’. Please follow the below steps to overcome the reported behavior. 
1. Delete package.lock.json file from your application. 
2. Remove the @syncfusion package folder from the node_modules. 
3. Use same version for all components in package.json file. 
4. Then install the new packages. 

If you still facing the same problem, kindly share your code example / sample (if possible) to proceed further. 

Regards, 
Karthi 




AR Arwin October 2, 2019 07:44 AM UTC

Thank you, it seems to work now.


KK Karthigeyan Krishnamurthi Syncfusion Team October 3, 2019 04:08 AM UTC


Loader.
Live Chat Icon For mobile
Up arrow icon