Forum Discussion

kakabubu's avatar
kakabubu
Contributor
10 months ago
Solved

functions stopped running (JS)

I've tried to rename the project suite yesterday and move it to a different folder in Git.  After that, I started receiving  "ReferenceError: helper is not defined" message from my 'events,js' file ...
  • kakabubu's avatar
    10 months ago

    Remembered later that there is an old piece of code that requires cofig.dev.json file which is gitignored
    And this code runs before all other functions and logs no error to TC logs unfortunately. 
    something like this: 

    (function setConfig() {
      /*some code here that uses config.dev.json*/
    })()

    The saddest, in this case, is that I have a Deja Vu with this problem. Seems that I need to spend time refactoring this