needs to be added to the webpack config. Another remedy, it seems, could be to add an optiontarget: 'node',到webpack配置.to the webpack config. 这篇关于reactjs-带有"fs"的phantomjs节点问题;模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!