NPM 报错--fs: re-evaluating native module sources is not supported. If you are using the graceful-fs m

Posted js0618

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了NPM 报错--fs: re-evaluating native module sources is not supported. If you are using the graceful-fs m相关的知识,希望对你有一定的参考价值。

fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module

技术分享图片

 

技术分享图片

 

 解决:升级npm

npm info graceful-fs -v
3.3.6

ok, lets upgrade or remove and install new:

npm i [email protected]
npm i [email protected]
sudo npm i [email protected] -g


npm update -g npm执行这一句的时候,提示npm更新成功:
技术分享图片

 

 参考网址:https://stackoverflow.com/questions/37346512/how-to-fix-fs-re-evaluating-native-module-sources-is-not-supported-graceful

 





以上是关于NPM 报错--fs: re-evaluating native module sources is not supported. If you are using the graceful-fs m的主要内容,如果未能解决你的问题,请参考以下文章

npm安装过程的报错

npm安装过程的报错

VUE:安装npm install报错Module build failed: Error: ENOENT: no such file or directory, scandir

meteor.js 和 npm 需要 fs

sh npm无法找到模块'internal / fs'#npm #error

NPM 无法安装 appjs。错误:找不到模块 'graceful-fs'