![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
npm相关
黒客与画家
忍不了,你就是俗人一个!
展开
-
解决npm报错:npm ERR! gifsicle@4.0.1 postinstall: `node lib/install.js`
一、报错:报错截图:报错关键词:npm ERR! gifsicle@4.0.1 postinstall: `node lib/install.js`二、原因:安装这些包时需要安装依赖包,其中部分依赖包需要从GitHub上下载,而GitHub的资源库DNS有问题,导致这些依赖包无法安装而报错。三、2种解决方案1、应该在命令后加参数 --ignore-scriptsnpm install --ignore-scripts2、在本地host文件中添加以下内容:( windows下,hos原创 2021-09-30 17:34:22 · 4152 阅读 · 0 评论 -
npm install:Could not resolve dependency:peer... 原因和解决方案,长期更新npm相关错误问题!
前言最近一个后台管理项目中我集成了tailwindcss框架;在公司的电脑上npm install是没问题的,到家里的电脑npm install 就报错; 报错日志如下:# npm resolution error report2021-05-22T14:02:27.205ZWhile resolving: ymsh@1.0.0Found: postcss@7.0.35node_modules/postcss postcss@"^7.0.35" from the root project原创 2021-05-22 23:44:05 · 98684 阅读 · 17 评论