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

Cannot find module 'internal/fs' in node 7.0

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

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

    1 条回复    2017-02-06 15:34:08 +08:00
    liujin834
        1
    liujin834  
       2017-02-06 15:34:08 +08:00
    把项目中的 node_modules 删了,然后重新 npm install
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3151 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 14:57 · PVG 22:57 · LAX 07:57 · JFK 10:57
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.