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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

zone.js errors

Thread ID:

Created:

Updated:

Platform:

Replies:

128878 Feb 14,2017 01:13 AM UTC Feb 15,2017 06:42 AM UTC Angular 6
loading
Tags: General
Zack
Asked On February 14, 2017 01:13 AM UTC

what is the version of zone.js that works with the new version?

Zack
Replied On February 14, 2017 02:00 AM UTC

Unhandled Promise rejection: Cannot set property 'allowCellMerging' of undefined ; Zone: <root> ; Task: Promise.then ; Value: TypeError: Cannot set property 'allowCellMerging' of undefined

Zack
Replied On February 14, 2017 02:09 AM UTC

Also side question, for the ej-slider can you set the increment step to be <1 e.g. .1 or .01?

Karthik Ravichandran [Syncfusion]
Replied On February 14, 2017 01:07 PM UTC

Hi Zack, 
 
Thanks for contacting Syncfusion support. 
 
 
Query 1: for the ej-slider can you set the increment step to be <1 e.g. .1 or .01? 
 
We can achieve your requirement in ejSlider by using incrementStep API. Please refer the below code block 
 
[slider.component.html] 
 
<ej-slider width="100%" value="0.5" [incrementStep]='increment' [minValue]='minval' [maxValue]='maxval'></ej-slider> 
 
[slider.component.ts] 
 
export class SliderComponent { 
    increment: any; 
    minval: any; 
    maxval:any 
    constructor() { 
        this.increment = 0.1; 
        this.minval=0; 
        this.maxval=1; 
    } 
} 
 
Based on your requirement we have prepared the sample and it can be available in the below location 
 
 
 
  
Query2: Cannot set property 'allowCellMerging' of undefined ; ?  
 
The script error “Cannot set property 'allowCellMerging' of undefined” due to using of Syncfusion Angular 2 component version below v15.1.33 which supports the Angular 2 version 2.0. We suggest you to update Syncfusion components to version 15.1.33. Now the Syncfusion Angular 2 components seamlessly supports Angular 2 version 2.4.0. Run below command to install latest version of ej-angular2 
 
npm install ej-angular2@15.1.33 --save  
 
Refer to the updated seed applications, to quick-start with Syncfusion JavaScript Angular 2 components and follow the below documentation link for getting started with seed application.    
    
 
Query3: version of zone.js that works with the new version?  
  
The latest version of Syncfusion Angular 2 components configured with the zone.js v0.7.4.  
 
Please let us know if you need further assistance on this 
 
 
Regards, 
Karthik R 


Zack
Replied On February 14, 2017 03:09 PM UTC

  "dependencies": {
    "@angular/common": "2.4.0",
    "@angular/compiler": "2.4.0",
    "@angular/core": "2.4.0",
    "@angular/forms": "2.4.0",
    "@angular/http": "2.4.0",
    "@angular/material": "^2.0.0-alpha.9-experimental-pizza",
    "@angular/platform-browser": "2.4.0",
    "@angular/platform-browser-dynamic": "2.4.0",
    "@angular/router": "3.4.0",
    "@angular/upgrade": "2.4.0",
    "core-js": "^2.4.1",
    "dragula": "^3.7.2",
    "ej-angular2": "^15.1.33",
    "font-awesome": "^4.7.0",
    "hammerjs": "^2.0.8",
    "material-icons": "^0.1.0",
    "moment": "^2.17.1",
    "ng2-dragula": "1.2.2-0",
    "primeng": "^1.0.1",
    "rxjs": "5.0.1",
    "zone.js": "^0.7.4"
  },
  "devDependencies": {
    "@types/ej.web.all": "^14.4.1",
    "@types/es6-shim": "^0.31.32",
    "@types/hammerjs": "^2.0.33",
    "@types/jquery": "2.0.34",
    "@types/jasmine": "^2.5.38",
    "@types/node": "^6.0.48",
    "angular2-router-loader": "^0.3.4",
    "angular2-template-loader": "^0.4.0",
    "css-loader": "^0.23.1",
    "ej-angular2": "^15.1.33",
    "extract-text-webpack-plugin": "^2.0.0-beta.4",
    "file-loader": "^0.8.5",
    "html-loader": "^0.4.3",
    "html-webpack-plugin": "^2.15.0",
    "linqts": "^1.6.2",
    "node-sass": "^3.11.2",
    "null-loader": "^0.1.1",
    "phantomjs-prebuilt": "^2.1.7",
    "raw-loader": "^0.5.1",
    "reflect-metadata": "^0.1.8",
    "rimraf": "^2.5.2",
    "sass-loader": "^4.0.2",
    "style-loader": "^0.13.1",
    "syncfusion-javascript": "^15.1.33",
    "ts-loader": "^1.3.3",
    "typescript": "^2.2.0",
    "typings": "^0.7.5",
    "webpack": "^2.2.0-rc.3",
    "webpack-dev-server": "^2.2.0-rc.0",
  }
}

this is my package.json with updated syncfusion and angular 2 dependencies. I've run npm outdated to ensure they're up to date and they are. I'm still getting the zone.js error unfortunately along with a zoneawareerror

Zack
Replied On February 14, 2017 03:10 PM UTC

and removed the ej-angular2 from dependencies leaving a copy only in dev dependencies following the github seed example 

Abinaya Subbiah [Syncfusion]
Replied On February 15, 2017 06:42 AM UTC

Hi Zack, 

We are unable to reproduce the reported issue from zone.js and we have modified the seed application with given npm package configuration. Refer to the below link for the sample. 


If your still facing the issue please share the sample or modified the given sample as issue reproducible. 

Regards, 
Abinaya S 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;