npm install时卡在sill idealTree buildDeps卡着不动

场景:做导出功能的时候要用上xlsx,正常npm install xlsx --save

问题描述:npm install时卡在sill idealTree buildDeps,,卡着不动

过程:在网上一顿百度试过好多种方法

1、切换taobao的镜像地址
npm config set registry https://registry.npm.taobao.org

自身试用情况:还是卡住不动

2、又切换了一个镜像地址
npm config set registry https://registry.npmmirror.com

自身试用情况:报错了npm ERR! code ERESOLVEnpm ERR! ERESOLVE could not resolve

如下图
在这里插入图片描述

然后结合试了一下,最终得出的解决方案如下
第一步
npm config set registry https://registry.npmmirror.com
第二步
npm install xlsx --save --force
在这里插入图片描述
希望能帮到你~

相关推荐

  1. npm 安装 sill idealTree buildDeps

    2024-07-19 05:16:03       46 阅读
  2. npm install 一直如何解决

    2024-07-19 05:16:03       46 阅读
  3. 【已解决】npm install的情况

    2024-07-19 05:16:03       45 阅读
  4. npm i一直sill idealTree buildDeps

    2024-07-19 05:16:03       23 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-07-19 05:16:03       67 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-07-19 05:16:03       72 阅读
  3. 在Django里面运行非项目文件

    2024-07-19 05:16:03       58 阅读
  4. Python语言-面向对象

    2024-07-19 05:16:03       69 阅读

热门阅读

  1. itextpdf 使用demo

    2024-07-19 05:16:03       26 阅读
  2. chatglm2-6b-prompt尝试

    2024-07-19 05:16:03       20 阅读
  3. IKM 外企常用

    2024-07-19 05:16:03       20 阅读
  4. Linux源码阅读笔记13-进程通信组件上

    2024-07-19 05:16:03       20 阅读
  5. 分布式唯一id的7种方案

    2024-07-19 05:16:03       24 阅读
  6. 编程中的智慧之设计模式三

    2024-07-19 05:16:03       21 阅读
  7. 解决用PicGo为typora配置github图床失败的问题

    2024-07-19 05:16:03       19 阅读
  8. shape_trans 变换区域的形状

    2024-07-19 05:16:03       22 阅读
  9. 【21】读感 - 架构整洁之道(三)

    2024-07-19 05:16:03       15 阅读
  10. Bootstrap 5:现代前端开发的新篇章

    2024-07-19 05:16:03       17 阅读
  11. python 乌龟绘图

    2024-07-19 05:16:03       19 阅读
  12. qt 国际化语言,英文和中文切换

    2024-07-19 05:16:03       17 阅读