1. 程式人生 > >NPM 報錯--fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module

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

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