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

Upgrade package version

Hi,

I have these packages in my project:
"@syncfusion/ej2-data": "17.2.28-beta"
"@syncfusion/ej2-vue-calendars": "17.2.35"
"@syncfusion/ej2-vue-dropdowns": "17.2.34"
"@syncfusion/ej2-vue-gantt": "17.2.34"
"@syncfusion/ej2-vue-navigations": "17.2.34"
"@syncfusion/ej2-vue-querybuilder": "17.2.34"
"@syncfusion/ej2-vue-treegrid": "17.2.35"

When I upgraded the @syncfusion/ej2-vue-treegrid to the 17.2.39 version I have an error:
TypeError: str.match is not a function
    at evalExp (template.js:66)
    at compile (template.js:53)
    at Object.Engine.compile (template-engine.js:124)
    at compile (template-engine.js:21)
    at templateCompiler (util.js:165)
    at new Column (column.js:138)
    at prepareColumns (util.js:221)
    at Grid.render (grid.js:710)
    at Grid.Component.appendTo (component.js:134)
    at TreeGrid.render (treegrid.js:471)

The same error I get when I upgraded all packages to the newest versions
"@syncfusion/ej2-data": "17.2.39"
"@syncfusion/ej2-vue-calendars": "17.2.36"
"@syncfusion/ej2-vue-dropdowns": "17.2.39"
"@syncfusion/ej2-vue-gantt": "17.2.36"
"@syncfusion/ej2-vue-navigations": "17.2.39"
"@syncfusion/ej2-vue-querybuilder": "17.2.36"
"@syncfusion/ej2-vue-treegrid": "17.2.39"

How can I resolve these problem?

Best regards,
Tomasz Tomczykiewicz

1 Reply

GA Gurunathan A Syncfusion Team August 2, 2019 07:20 AM UTC


Hi Tomasz,  
  
The reported problem may occur, when duplicate Syncfusion packages were installed in your application. We need to run the command npm dedupe to remove the duplicate packages. Please follow the steps mentioned in the below link to update the NPM packages.  


Regards, 
Gurunathan 


Loader.
Up arrow icon