JavaScript Error on Chrome browser latest version 43.


  • Hi,

    Continuously getting folowing errors
    1..Uncaught SyntaxError: Unexpected identifier(anonymous function)(nodebb.min.js:15688)
    2..Uncaught Error: Load timeout for modules: csrf,forum/footer

    (nodebb.min.js:12)
    3..Uncaught SyntaxError: Unexpected string(nodebb.min.js:1518)

    These errors are occurred only on google chrome version 43.0.2357.81. that is latest one.
    We have tried to test same website on browser stack on google chrome different versions
    and also tested on Windows8 VM on Chrome 40 but not getting any errors.

    These errors are not into our code in fact that is into minified code of actual nodebb website.

    Is there idea why these errors are getting introduced on latest version of Chrome only?

    Any help is appreciated!!
    Thanks

  • NodeBB

    Are you getting these errors on this site as well?


  • @baris

    Thanks for the reply.

    No, We are not getting any error on https://community.nodebb.org site.
    We are getting error on fresh installation of NodeBB 0.6.1 and 0.7.0 version, Which we downloaded from your github repository.


  • Hi,

    More information related to this issue, This issue is occurs when 'nodebb.min.js' is minified.

    Screenshot of version 0.6.1 error on chrome 43:
    NodeBB_0.6.1_cheome_error.png

    Screenshot of version 0.7.0 error on chrome 43:
    NodeBB_0.7.0_chrome_error.png

    Above error is due to the minification of JS.
    When minification of JS is off there will be no ERROR:
    Thanks.

  • NodeBB

    Yeah I think this is the same issue as https://github.com/NodeBB/NodeBB/issues/3200. Only happens when javascript is minified.

    pichalite created this issue in NodeBB/NodeBB

    closed JS errors on fresh install of v0.7.x #3200

Suggested Topics

| |