gpt4 book ai didi

node.js - 'npm cache clean' 不作为 IDE 工作 Angular VS 代码

转载 作者:太空狗 更新时间:2023-10-29 18:04:39 26 4
gpt4 key购买 nike

npm ERR! As of npm@5, the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to bevalid. If you want to make sure everything is consistent, use 'npm cache verify' instead.npm ERR!npm ERR! If you're sure you want to delete the entire cache, rerun this command with --force.

npm ERR! A complete log of this run can be found in:npm ERR! C:\Users\janak\AppData\Roaming\npm-cache_logs\2017-08-11T04_38_31_995Z-debug.log

最佳答案

使用 --force 运行命令:

npm cache clean --force

基于 npm documentation :

it should never be necessary to clear the cache for any reason other than reclaiming disk space, thus why clean now requires --force to run.

关于node.js - 'npm cache clean' 不作为 IDE 工作 Angular VS 代码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45627827/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com