常见错误集锦 1. 出现`Caught exception: TypeError: Cannot read property 'getConnectivityState' of undefined` 的错误 1. 出现Caught exception: TypeError: Cannot read property 'getConnectivityState' of undefined 的错误 本文使用的是Marbles的v4.0.2版本,修改Marbles目录中package.json里面数据,按照下方蓝色方框指示替换。 卸载grpc,重新安装依赖包 npm uinstall grpc rm -rf node_modules npm install