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

Webpack error in ej.web.all.min.js: arguments is a reserved word in strict mode (10:261929)

Hi,

Webpack 2.2.0 throws error with babel loader 6.2.3 and typescript 2.2.1:

ERROR in ./~/syncfusion-javascript/Scripts/ej/web/ej.web.all.min.js
    Module build failed: SyntaxError: .../node_modules/syncfusion-javascript/Scripts/ej/web/ej.web.all.min.js: arguments is a reserved word in strict mode (10:261929)

Could you please check syncfusion-javascript 15.2.41?

Thanks,
Nga

7 Replies

KR Koushik Ramaswamy Syncfusion Team May 23, 2017 12:59 PM UTC

Hi Nga, 
 
We are sorry about the inconvenience caused. 
 
We have checked the reported issue and we are unable to reproduce the issue in our end. We have prepared a sample using webpack. Please find the sample link below. 
Please check the above sample and replicate the reported issue in this sample and get back to us with more details. So, that we can work on this and provide you a better solution quickly. 
 
Regards, 
Koushik R 



NG Nga May 24, 2017 01:56 AM UTC

Hi,

Your webpack config does not use babel-loader. Please see my webpack config in attachment and try reproducing the error.

Thanks,
Nga

Attachment: webpack.config.vendor_7a66e8a0.rar


KR Koushik Ramaswamy Syncfusion Team May 24, 2017 12:28 PM UTC

Hi Nga, 
 
Sorry for the inconvenience caused, 
 
We need to analyse more on this and will update you with further details on May 26, 2017. If you provide us with the sample, it will be helpful for us to check the reported issue and provide you a solution as soon as possible. 
 
Please let us know if you have any concerns. 
 
Regards, 
Koushik R 



NG Nga May 30, 2017 07:29 AM UTC

Hi,

For your information, it is showing error at below blue text, which is a part of ej.calculate.min.js:
this.formulaErrorStringCheck=function(n,t){var arguments=this.splitArgsPreservingQuotedCommas(n)


NG Nga May 30, 2017 07:52 AM UTC

Then another error <Invalid number> at below blue text, which is a part of ej.schedule.min.js:
new Date(1900,01,01),maxDate:new Date(2099,12,31)


NG Nga May 30, 2017 08:18 AM UTC

To reproduce, you can download the sample at https://www.syncfusion.com/kb/7547/how-to-bundle-syncfusion-reactjs-components-using-webpack-and-browserify. Then edit webpack.config.js to include ej.web.all and check.


KR Koushik Ramaswamy Syncfusion Team May 30, 2017 01:02 PM UTC

Hi Nga, 
  
Thanks for using Syncfusion products, 
  
We have confirmed this “Webpack error in ej.web.all.min.js: arguments is a reserved word in strict mode (10:261929) as a bug and a support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates. 
 

Regards, 
Koushik R 


Loader.
Up arrow icon