Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/logging/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reactjs Log4js节点可以';找不到群集模块_Reactjs_Logging - Fatal编程技术网

Reactjs Log4js节点可以';找不到群集模块

Reactjs Log4js节点可以';找不到群集模块,reactjs,logging,Reactjs,Logging,我已安装,没有任何错误,但当我尝试访问它时,它会显示以下内容: ./node_modules/log4js/lib/clustering.js [1] Module not found: Can't resolve 'cluster' in '/usr/share/client/node_modules/log4js/lib' [1] Compiling... [1] Failed to compile. 我的npm版本是5.6.0

我已安装,没有任何错误,但当我尝试访问它时,它会显示以下内容:

 ./node_modules/log4js/lib/clustering.js
 [1] Module not found: Can't resolve 'cluster' in 
 '/usr/share/client/node_modules/log4js/lib'
 [1] Compiling...
 [1] Failed to compile.
我的npm版本是5.6.0