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