Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'DoStatement' of undefined #1532

Closed
AndrewBailMYOB opened this issue Feb 26, 2018 · 2 comments
Closed

Cannot read property 'DoStatement' of undefined #1532

AndrewBailMYOB opened this issue Feb 26, 2018 · 2 comments

Comments

@AndrewBailMYOB
Copy link

Issue description or question

When trying to launch wallaby it consistently fails, regardless of IDE.
Console output is

core v1.0.556
Failed to load configuration file:  Cannot read property 'DoStatement' of undefined

I cannot fund any information regarding 'DoStatement'. I have a feeling this has something to do with my system configuration but I do not know where to start to look to debug this.

Wallaby.js configuration file

module.exports = () => {
  return {
    files: [
      'style/calculator.css',
      {pattern: 'lib/jquery.js', instrument: false},
      'src/*.js',
      'test/helper/template.js'
    ],
    tests: [
      'test/*Spec.js'
    ],
    debug: true
  };
};

Code editor or IDE name and version

IntelliJ IDEA v2017.3
Atom v1.20.1

OS name and version

OSX High Sierra

@ArtemGovorov
Copy link
Member

We have reviewed our source code and had only found one place where the error could be raised from under very special conditions, we don't have any ideas how it's even possible.

Nevertheless, we have just published the latest core where the issue has been addressed (if it was the issue that you've been observing). Please try updating your wallaby core to 1.0.557 and let us know how it goes.

@AndrewBailMYOB
Copy link
Author

That did the trick! Thanks for your prompt reply and action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants