Cannot find module 'internal/fs'

2016-11-01 11:37:23 +08:00
 dericgit

node 7.0 Cannot find module 'internal/fs'

node 6.9 fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.

有什么解决方法?在 node 7.0 中。

6006 次点击
所在节点    Node.js
3 条回复
kfll
2016-11-01 11:48:35 +08:00
`please update it to a more recent version.`

npm list graceful-fs

看你的直接依赖里面谁直接依赖或间接依赖了 graceful-fs@4 以前的版本,你就升级谁
dericgit
2016-11-01 13:45:15 +08:00
thx @kfll
kfll
2016-11-01 17:25:51 +08:00
@dericgit no thx

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/317033

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX