dericgit
V2EX  ›  Node.js

Cannot find module 'internal/fs'

  •  
  •   dericgit · Nov 1, 2016 · 7152 views
    This topic created in 3677 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
    kfll
    Nov 1, 2016
    1
    `please update it to a more recent version.`

    npm list graceful-fs

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