OokTech/TW5-Bob

$tw.settings is undefined

Closed this issue · 2 comments

This commit 4c5ff75 results in

Error executing boot module $:/plugins/OokTech/Bob/AutomaticBackups.js: {}

$:/plugins/OokTech/Bob/AutomaticBackups.js:43
  $tw.settings.backups = $tw.settings.backups || {};
                                      ^

TypeError: Cannot read property 'backups' of undefined
    at $:/plugins/OokTech/Bob/AutomaticBackups.js:43:39
    at $:/plugins/OokTech/Bob/AutomaticBackups.js:130:3
    at Script.runInContext (vm.js:142:18)
    at Script.runInNewContext (vm.js:147:17)
    at Object.runInNewContext (vm.js:302:38)

for me.

Followed the manual install for node.js


I am running (check any that apply, put an x inside the [ ] to check a box, like this: [x]):

  • Windows
  • OSX
  • Linux
  • Other

and using

  • The nodejs version
  • The single file executable

Before posting I read issue guidelines and:

  • I am using the newest version
  • The answer to my question isn't listed in the documentation or this isn't
    a question
  • This is not a duplicate issue
  • I have not done anything that required me to set acceptance to
    I Will Not Get Tech Support For This

I have the same problem.
-B

This should be fixed in the new release that I am hoping to put out in an hour or two.