不确定为什么我会遇到这个问题。我正在遵循本机反应教程,并且遇到此错误:
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)