小编Tat*_*ste的帖子

Metro 遇到错误:无法读取未定义的属性(读取“transformfile”)。错误

不确定为什么我会遇到这个问题。我正在遵循本机反应教程,并且遇到此错误:

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);
    })();

Run Code Online (Sandbox Code Playgroud)

node.js node-modules reactjs react-native

8
推荐指数
1
解决办法
1万
查看次数

标签 统计

node-modules ×1

node.js ×1

react-native ×1

reactjs ×1