ember new报错No matching version found for @ember-data/model@^3.11.2的解决方案
2019.7.28 更新:该问题官方已修复,至少由于文中所述原因引起的bug已修复。
具体的报错信息:
No matching version found for @ember-data/model@^3.11.2
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'ember-data'
npm ERR! notarget
解决方案参考ember-cli的issue:
ember new name_of_project --skip-npm
cd name_of_project
yarn
从报错信息中可以看出,估计是ember的npm库自己出了问题……可能是最近更新的时候版本没同步。事实上,这个解决方案也是治标不治本,因为ember install
的时候还是会报错 ,只能等官方修复这个问题了。
从这件事里也可以感觉到,yarn似乎确实比npm要更受欢迎。
此外,有一件很有意思的事,ember new的时候居然不能用test这个名字:
We currently do not support a name of `test`
也不知道是和什么关键字冲突了。单从CLI来看,体验要比现在流行的三大框架差一截。
ember new报错No matching version found for @ember-data/model@^3.11.2的解决方案相关推荐
- SAP MM ML81N为采购订单创建服务接收单,报错- No matching PO items selected -
SAP MM ML81N为采购订单创建服务接收单,报错- No matching PO items selected - SAP里的服务采购流程跟有形的实物采购流程并不相同.除了在采购单据上的差异以外 ...
- mysql报错:This version of MySQL doesn’t yet support ‘LIMIT IN/ALL/ANY/SOME 解决方法
最近使用MySQL5.6查询表的前几条数据,使用了limit语句,结果出现错误:This version of MySQL doesn't yet support 'LIMIT & IN/AL ...
- 报错:libtool: Version mismatch error. This is libtool 2.4.6解决
报错:libtool: Version mismatch error. This is libtool 2.4.6, but the definition of this LT_INIT解决: # a ...
- xshell4连接ubuntu,报错No matching outgoing encryption
xshell4连接ubuntu系统,报错No matching outgoing encryption,没有匹配的算法. xshell4连接centos.redhat没有问题.于是怀疑是不是远程连接工 ...
- scp或者ssh报错“no matching host key type found. Their offer: ssh-rsa,ssh-dss“
scp或者ssh报错"no matching host key type found. Their offer: ssh-rsa,ssh-dss" 原因:OpenSSH 7.0以后 ...
- npm install报错:This version of npm is compatible with lockfileVersion@1, but package-lock.json was ge
npm install报错:This version of npm is compatible with lockfileVersion@1, but package-lock.json was ge ...
- centos7源码安装mysql报错_CentOS7 下源码安装MySQL数据库 8.0.11
本文主要向大家介绍了CentOS7 下源码安装MySQL数据库 8.0.11,通过具体的内容向大家展现,希望对大家学习MySQL数据库有所帮助. CentOS7 下源码安装MySQL 8.0.11 系 ...
- 【Mysql】存储emoji表情报错(Incorrect string value: ‘\xF0\x9F\x98\x82\xF0\x9F...‘)的解决方案
[Mysql]存储emoji表情报错(Incorrect string value: '\xF0\x9F\x98\x82\xF0\x9F...')的解决方案 参考文章: (1)[Mysql]存储emo ...
- Unity报错:Setting the parent of a transform which resides in a Prefab......解决方案(强行设置)
@[TOC](Setting the parent of a transform which resides in a Prefab Asset is disabled to prevent data ...
- Python报错:_tkinter.TclError: couldn‘t recognize data in image file...
在Python中使用tkinter导入图片时出现报错:_tkinter.TclError: couldn't recognize data in image file... global photo ...
最新文章
- Outlook数据提取工具readpst
- C语言中sizeof与strlen的区别总结!
- 牛客网【每日一题】5月19日题目精讲 比赛
- 将对象映射到多个XML模式–天气示例
- python循环绘制六角星_《Python游戏趣味编程》 第3章 美丽的圆圈画
- 搭建Magento电子商务网站
- eclipse优化记录
- 网易公开课 IPHONE开发
- opencv图像对比度
- pytest系列——参数化的使用
- cnzz统计代码被谷歌浏览器拦截警告
- Android Provision(开机向导setupwizard程序)
- (3)Pairing Functions Element Functions
- 从eclips到idea
- 软件测试实习——第二十四天
- 计算机网络系统的维护,简论事业单位计算机网络管理系统的维护
- Java虚拟机知识点快速复习手册(上)
- 计算机现在发展状况,浅谈计算机的发展状况
- elasticsearch7.x clusterAPI之settings
- c语言二重指针做参数,C语言二重指针的运用