atom-editor - Atom platformio-ide-terminal 安装失败并显示消息:
问题描述
npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning EINTEGRITY: sha512-FwSR4ZRPW0KlivAwPXSK0RXh9KEP0ApBbO7MqHT1z6UxK/NbX6+JcrShhODByECQATvi9j90xwr0VIs9o/CAZA== integrity checksum failed when using sha512: wanted sha512-FwSR4ZRPW0KlivAwPXSK0RXh9KEP0ApBbO7MqHT1z6UxK/NbX6+JcrShhODByECQATvi9j90xwr0VIs9o/CAZA== but got sha512-+7zo2YZURDS4sJVSSCmvNKYFPfsWPfN2eHciUQfFGhA3zDNX8UrSbVYUkmTtBbXPsv8hHN16PngPRv5a+LdqPQ==. (15964 bytes)
npm WARN registry Using stale package data from https://registry.npmjs.org/ due to a request error during revalidation.
npm ERR! code EINTEGRITY
npm ERR! errno EINTEGRITY
npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/atom-space-pen-views: Integrity verification failed for sha512-FwSR4ZRPW0KlivAwPXSK0RXh9KEP0ApBbO7MqHT1z6UxK/NbX6+JcrShhODByECQATvi9j90xwr0VIs9o/CAZA== (C:\Users\Pranshu\.atom\.apm\_cacache\content-v2\sha512\17\04\91e1944f5b42a58af0303d748ad115e1f4a10fd00a416ceecca874f5cfa5312bf35b5faf8972b4a184e0c1c84090013be2f63f74c70af4548b3da3f08064)
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Pranshu\.atom\.apm\_logs\2020-04-22T18_28_14_921Z-debug.log
解决方案
我有一个类似的问题并通过删除 apm 缓存文件夹文件来修复它:
# cd ~/.atom/.apm/_cacache/
# rm -Rf *
推荐阅读
- ruby-on-rails - Rails:WSL 的路径名问题
- google-analytics - Google Analytics 4 - 不使用 gtag.js 或 firebase 的 Measurement Protocol API
- php - 在表单中添加图像 - prestashop
- matlab - 用于添加单例维度和/或广播的语法糖
- javascript - 如何将 undefined 或 null 设置为 firebase 对象中的值?
- java - 使用规范过滤子实体 - Spring Boot
- vim - Vim 用不同的字符串替换每一行
- excel - 如何垂直和水平合并或合并具有相同值的单元格,Excel VBA?
- ios - 无法将“[String : String?]”类型的值转换为预期的参数类型“String”
- flutter - 如何在 Flutter 中制作具有两行的水平 ListView?