V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
dericgit
V2EX  ›  Node.js

Cannot find module 'internal/fs'

  •  
  •   dericgit · 2016-11-01 11:37:23 +08:00 · 6004 次点击
    这是一个创建于 2734 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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 中。

    3 条回复    2016-11-01 17:25:51 +08:00
    kfll
        1
    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
        2
    dericgit  
    OP
       2016-11-01 13:45:15 +08:00
    thx @kfll
    kfll
        3
    kfll  
       2016-11-01 17:25:51 +08:00
    @dericgit no thx
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2441 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 16:06 · PVG 00:06 · LAX 09:06 · JFK 12:06
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.