• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

JavaScript Error on Chrome browser latest version 43.

Scheduled Pinned Locked Moved NodeBB Development
5 Posts 2 Posters 3.1k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    akumbhare
    wrote on last edited by
    #1

    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
    http://requirejs.org/docs/errors.html#timeoutB (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

    1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #2

    Are you getting these errors on this site as well?

    1 Reply Last reply
    0
  • A Offline
    A Offline
    akumbhare
    wrote on last edited by
    #3

    @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.

    1 Reply Last reply
    0
  • A Offline
    A Offline
    akumbhare
    wrote on last edited by akumbhare
    #4

    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.

    1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #5

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

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development