在线
客服

发布
需求

天盟
APP

天盟APP下载

关注
微信

微信扫一扫访问
顶部

fileSystem.statSync is not a function 关于webpack打包的提示错误 react

ERROR in ./src/js/root.js
Module build failed: TypeError: fileSystem.statSync is not a function
    at module.exports (E:\react\node_modules\babel-loader\lib\utils\exists.js:7:25)
    at find (E:\react\node_modules\babel-loader\lib\resolve-rc.js:13:9)
    at Object.module.exports (E:\react\node_modules\babel-loader\lib\index.js:113:132)
使用老师提供的package.json, 输入命令npm install后下载安装依赖,但是用webpcak打包时提示这个错误,请问老师,这个问题该怎么解决????

免责声明:本内容仅代表回答会员见解不代表天盟观点,请谨慎对待。

版权声明:作者保留权利,不代表天盟立场。

使用道具 举报

全部参与2

删掉node_module,然后重装一个webpack吧
npminstallwebpack@3.0.0--save-dev

使用道具 举报

我也有

使用道具 举报

发新帖
国内首家创新型IT技术需求众包服务平台,软件需求就上天盟网! 立即登录 立即注册