随机TypeError:流未定义

时间:2019-09-08 18:01:48

标签: node.js reactjs firebase

一个随机的TypeError: stream is undefined出现在我的反应环境中,并且ive寻找了答案,但没有任何解决方法可以解决此问题。目前正在使用react

开发firebase应用

这就是正在渲染的东西

TypeError: stream is undefined
./node_modules/grpc/node_modules/set-blocking/index.js/</module.exports/<
node_modules/grpc/node_modules/set-blocking/index.js:3

  1 | module.exports = function (blocking) {
  2 |   [process.stdout, process.stderr].forEach(function (stream) {
> 3 |     if (stream._handle && stream.isTTY && typeof stream._handle.setBlocking === 'function') {
  4 |       stream._handle.setBlocking(blocking);
  5 |     }
  6 |   });

这是我的终端机发出的信号。

Compiled with warnings.

./node_modules/grpc/src/grpc_extension.js
Critical dependency: the request of a dependency is an expression

./node_modules/grpc/node_modules/node-pre-gyp/lib/pre-binding.js
Critical dependency: the request of a dependency is an expression

./node_modules/grpc/node_modules/node-pre-gyp/lib/util/versioning.js
Critical dependency: the request of a dependency is an expression

不知道如何解决此问题。

0 个答案:

没有答案