导出成员“StatSyncFn”出现问题
我的构建中有这个错误,我不知道从哪里来,为什么,是这样的...
Error: node_modules/webpack-dev-middleware/types/index.d.ts:204:27 - error TS2694: Namespace '"fs"' has no exported member 'StatSyncFn'.
statSync?: import("fs").StatSyncFn;
我尝试重新安装 webpack,但是不知道该怎么做,我将恢复这个错误...
有一些解决方案或想法吗?拜托,
谢谢大家的帮助...
There is this error on my build, i dont no from where and why, is coming like this...
Error: node_modules/webpack-dev-middleware/types/index.d.ts:204:27 - error TS2694: Namespace '"fs"' has no exported member 'StatSyncFn'.
statSync?: import("fs").StatSyncFn;
I have try to re-install webpack, but and don't know what, i will doing for resume this error...
Having some solutions or ideas for ? Please,
Thank all us for you help...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您检查过这个和这个。
有 2 个可能的原因:
([email protected ] => [电子邮件受保护])
版本**最有可能更新 npm 和 fs-extra 可以解决
Did you check this and this.
There are 2 possible reasons:
([email protected] => [email protected])
version**most probably updating npm and fs-extra would solve