V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
dericgit
V2EX  ›  Node.js

Cannot find module 'internal/fs'

  •  
  •   dericgit · Nov 1, 2016 · 6683 views
    This topic created in 3465 days ago, the information mentioned may be changed or developed.

    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 replies    2016-11-01 17:25:51 +08:00
    kfll
        1
    kfll  
       Nov 1, 2016
    `please update it to a more recent version.`

    npm list graceful-fs

    看你的直接依赖里面谁直接依赖或间接依赖了 graceful-fs@4 以前的版本,你就升级谁
    dericgit
        2
    dericgit  
    OP
       Nov 1, 2016
    thx @kfll
    kfll
        3
    kfll  
       Nov 1, 2016
    @dericgit no thx
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4135 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 04:15 · PVG 12:15 · LAX 21:15 · JFK 00:15
    ♥ Do have faith in what you're doing.