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的解决方案相关推荐

  1. SAP MM ML81N为采购订单创建服务接收单,报错- No matching PO items selected -

    SAP MM ML81N为采购订单创建服务接收单,报错- No matching PO items selected - SAP里的服务采购流程跟有形的实物采购流程并不相同.除了在采购单据上的差异以外 ...

  2. 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 ...

  3. 报错: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 ...

  4. xshell4连接ubuntu,报错No matching outgoing encryption

    xshell4连接ubuntu系统,报错No matching outgoing encryption,没有匹配的算法. xshell4连接centos.redhat没有问题.于是怀疑是不是远程连接工 ...

  5. 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以后 ...

  6. 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 ...

  7. centos7源码安装mysql报错_CentOS7 下源码安装MySQL数据库 8.0.11

    本文主要向大家介绍了CentOS7 下源码安装MySQL数据库 8.0.11,通过具体的内容向大家展现,希望对大家学习MySQL数据库有所帮助. CentOS7 下源码安装MySQL 8.0.11 系 ...

  8. 【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 ...

  9. 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 ...

  10. Python报错:_tkinter.TclError: couldn‘t recognize data in image file...

    在Python中使用tkinter导入图片时出现报错:_tkinter.TclError: couldn't recognize data in image file... global photo ...

最新文章

  1. Outlook数据提取工具readpst
  2. C语言中sizeof与strlen的区别总结!
  3. 牛客网【每日一题】5月19日题目精讲 比赛
  4. 将对象映射到多个XML模式–天气示例
  5. python循环绘制六角星_《Python游戏趣味编程》 第3章 美丽的圆圈画
  6. 搭建Magento电子商务网站
  7. eclipse优化记录
  8. 网易公开课 IPHONE开发
  9. opencv图像对比度
  10. pytest系列——参数化的使用
  11. cnzz统计代码被谷歌浏览器拦截警告
  12. Android Provision(开机向导setupwizard程序)
  13. (3)Pairing Functions Element Functions
  14. 从eclips到idea
  15. 软件测试实习——第二十四天
  16. 计算机网络系统的维护,简论事业单位计算机网络管理系统的维护
  17. Java虚拟机知识点快速复习手册(上)
  18. 计算机现在发展状况,浅谈计算机的发展状况
  19. elasticsearch7.x clusterAPI之settings
  20. c语言二重指针做参数,C语言二重指针的运用

热门文章

  1. 白话空间统计二十四:地理加权回归(二)
  2. c++ 集合常用函数及集合排序
  3. 搜索引擎那些你不知道的事
  4. 调试经验——Excel函数矩阵相乘函数(MMULT)的应用 (Use of MMULT function in Excel)
  5. 机器学习之二分类模型评价指标
  6. 《软件工程》真题考点
  7. zedBoard USB转串口驱动下载问题
  8. 光有想法怎么开技术公司?
  9. Django框架零基础入门
  10. 90%人不知道的大厂面试流程和技巧