npm install 时 No matching version found for react-flow-design@1.1.14
执行 npm install时报错如下:
4017 silly pacote range manifest for react-highcharts@^16.0.2 fetched in 19ms
4018 silly resolveWithNewModule react-highcharts@16.0.2 checking installable status
4019 http fetch GET 304 http://registry.npm.taobao.org/react-flow-design 81ms (from cache)
4020 silly fetchPackageMetaData error for react-flow-design@1.1.14 No matching version found for react-flow-design@1.1.14
4021 http fetch GET 304 http://registry.npm.taobao.org/react-form-design 86ms (from cache)
4022 silly fetchPackageMetaData error for react-form-design@^1.11.5 No matching version found for react-form-design@^1.11.5
4023 http fetch GET 404 http://registry.npm.taobao.org/react-trans-selector 986ms
4024 silly fetchPackageMetaData error for react-trans-selector@1.2.12 404 Not Found: react-trans-selector@1.2.12
4025 timing stage:rollbackFailedOptional Completed in 2ms
4026 timing stage:runTopLevelLifecycles Completed in 27833ms
4027 silly saveTree antd-admin@5.0.8
原因是这个版本的依赖包在私服仓库上找不到,当然我这是没有切换源导致的,这篇尝试在不切换源的前提下正常打包。
1.修改版本号为仓库中存在的版本
以react-flow-design为例,到仓库中(https://npm.taobao.org/package/react-flow-design)查找存在的版本,修改package.json中的版本为可用版本(例如私有源的react-flow-design@1.1.14对应淘宝源的react-flow-design@1.0.4,那么就把版本号由1.1.14改为1.0.4),重新打包,或者单独下载这个依赖。
npm install react-flow-design
2. 删除 package-lock.json 重新打包
部分原因可能是生成的package-lock.json文件有问题,此时需要删除该文件,执行 npm install 再重新生成该文件。
npm install 时 No matching version found for react-flow-design@1.1.14的更多相关文章
- npm install 时出现的 EACCES: permission denied 错误的可能有效的解决方案
最近我开始接触手机 app 的编写,公司用到了 Nativescript.当我下载了公司的项目后,在配置时出现了不少的问题,其中出现概率最高的就是 EACCES: permission denied ...
- npm install 时总是报phantomjs-prebuilt@2.1.14安装失败
在npm install时总是报如下错误, 尝试单独安装:npm install phantomjs-prebuilt@2.1.14 还是报错 Please report this full log ...
- 转:npm install 时总是报phantomjs-prebuilt@2.1.14安装失败
该文章转自:http://www.cnblogs.com/alice626/p/6206722.html 在npm install时总是报如下错误, 尝试单独安装:npm install phanto ...
- 安装npm install时,长时间停留在某一处的解决方案
默认情况npm install安装时,会从 github.com 上下载文件,大部分安装不成功的原因都源自这里 因为 GitHub Releases 里的文件都托管在 s3.amazonaws.com ...
- 安装npm install时,长时间停留在fetchMetadata的解决方法
安装npm install时,长时间停留在fetchMetadata: sill mapToRegistry uri http://registry.npmjs.org/whatwg-fetch处, ...
- 安装npm install时,长时间停留在fetchMetadata: sill 解决方法——换npm的源
安装npm install时,长时间停留在fetchMetadata: sill mapToRegistry uri http://registry.npmjs.org/whatwg-fetch处, ...
- npm install 时--save-dev和--save的区别
package.json中两个字段含义简介 一直在使用npm包管理器,对于npm install module --save-dev 和 npm install module --save这两个的区别 ...
- 使用npm install时一直报错-4048 operation not permitted
一:权限问题 首先看到operation not permitted我们能想到权限问题,所以这时候我们可以以管理员身份运行cmd或者直接快捷键Win+X来打开. 二:依赖包错误 如上图,根据错误日志我 ...
- 在npm install时node-gyp出现错误
在执行npm install的时候出现了下面的错误,安装Xcode并执行sudo xcode-select -s /Applications/Xcode.app/Contents/Developer, ...
随机推荐
- git如何删除已经提交的文件夹
在上传项目到github时,忘记忽略了某个文件夹.idea,就直接push上去了, 最后意识到了此问题,决定删除掉远程仓库中的.idea文件夹 删除前: 删除后: 在github上只能删除仓库,却无法 ...
- 3D中OBJ文件格式详解
常见到的*.obj文件有两种:第一种是基于COFF(Common Object File Format)格式的OBJ文件(也称目标文件),这种格式用于编译应用程序:第二种是Alias|Wavefron ...
- @RequestMapping中的注解
在org.springframework.spring-web的jar包中在以下层级下: org.springframework.web.bind.annotation; // // Source c ...
- 《你说对就队》第九次团队作业:【Beta】Scrum meeting 1
<你说对就队>第九次团队作业:[Beta]Scrum meeting 1 项目 内容 这个作业属于哪个课程 [教师博客主页链接] 这个作业的要求在哪里 [作业链接地址] 团队名称 < ...
- Faster-RCNN用于场景文字检测训练测试过程记录(转)
[训练测试过程记录]Faster-RCNN用于场景文字检测 原创 2017年11月06日 20:09:00 标签: 609 编辑 删除 写在前面:github上面的Text-Detection-wit ...
- Django --- 常用字段及参数
1 ORM字段 AutoField int自增列,必须填入参数 primary_key=True.当model中如果没有自增列,则自动会创建一个列名为id的列. IntegerField 一个整数类型 ...
- 织梦个人空间中调用ip,会员类型,邮箱,金币,会员积分
织梦个人空间中调用.用户昵称,最后登录,会员等级 ,会员头衔,会员积分,空间访问,邮箱地址 ,金币数量,会员组的有效期天数 ,升级会员组的时间 ,用户的等级,用户的性别 ,会员的类型,ip 第一步确定 ...
- 无向图的割点和桥 tarjan 模板
#include <bits/stdc++.h> using namespace std; const int MAXN = 20005; const int MAXM = 100005; ...
- Mybatis-Plus 3.0
https://www.cnblogs.com/limn/p/9923170.html 代码生成器 https://blog.csdn.net/penker_zhao/article/detail ...
- EL运算符和基本运算
1.EL存取器:.和[] ${applicationScope.list[].name} 获取applicationScope中list集合的第二个元素的name属性. 2.三元运算符: ${> ...