从我使用 nodejs 和 npm 的那一天起,每次我安装一些包时,npm 总是给我一个警告:
fsevents@1.0.17: The platform "linux" is incompatible with this module.
Run Code Online (Sandbox Code Playgroud)
我知道我可以将 npm 设置loglevel为error,我之前这样做过,然后出了问题,因为我错过了另一个包的一些警告。
是否有任何 npm 或 yarn 配置可以将某些特定包的警告列入白名单?
| 归档时间: |
|
| 查看次数: |
436 次 |
| 最近记录: |