6

Not sure Why I am getting this issue. I am following a react-native tutorial, and am experiencing this error:

TransformFile(filePath, transformOptions) {
    var _this3 = this;

    return _asyncToGenerator(function*() {
      // We need to be sure that the DependencyGraph has been initialized.
      // TODO: Remove this ugly hack!
      yield _this3._depGraphPromise;
      return _this3._transformer.transformFile(filePath, transformOptions);
    })();

RBT
  • 24,161
  • 21
  • 159
  • 240

1 Answers1

2

This problem usually happens because the user is using a node version that's newer. You can solve this by downgrading your node using Node Version Manager (nvm).

Jan Schultke
  • 17,446
  • 6
  • 47
  • 96
zpodavay
  • 171
  • 2
  • 11