npm ERR! Linux 4.2.--generic
npm ERR! argv "/usr/src/node-v6.10.3-linux-x64/bin/node" "/usr/src/node-v6.10.3-linux-x64/bin/npm" "install" "ionic-native"
npm ERR! node v6.10.3
npm ERR! npm v3.10.10
npm ERR! code ETARGET npm ERR! notarget No compatible version found: ionic-native@^3.5.
npm ERR! notarget Valid install targets:
npm ERR! notarget 5.0.-alpha., 2.9., 2.8., 2.8., 2.7., 2.6., 2.5., 2.5., 2.4., 2.4., 2.3., 2.3., 2.3., 2.2., 2.2., 2.2., 2.2., 2.2., 2.2., 2.2., 2.2., 2.2., 2.2., 2.2., 2.2., 2.2., 2.2., 2.2., 2.2., 2.2., 2.2., 2.1., 2.1., 2.1., 2.1., 2.1., 2.1., 2.1., 2.1., 2.0., 2.0., 2.0., 2.0., 1.3., 1.3., 1.3., 1.3., 1.3., 1.3., 1.3., 1.3., 1.3., 1.3., 1.3., 1.3., 1.3., 1.3., 1.3., 1.3., 1.3., 1.3., 1.3., 1.3., 1.3., 1.3., 1.3., 1.3., 1.3., 1.3., 1.3., 1.3., 1.2., 1.2., 1.2., 1.2., 1.2., 1.1., 1.1., 1.0., 1.0., 1.0., 1.0., 1.0., 1.0.
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

旧项目从git服务器下载下来,运行npm install提示上面的错误信息. 错误信息的大概意思是 没有找到匹配的版本 ionic-native@^3.5.0

在提示信息中,没有 3.5.0,有 5.0.0-alpha.0,2.9.0 等版本

参考https://github.com/ionic-team/ionic-native/issues/1036#issuecomment-305456743 其中的做法,先安装 ionic-native 的指定版本,然后再运行npm install

如:

npm install ionic-native@2.9. --save
npm install

如有类似的,应该也是同样的处理方法。

解决 no compatible version found: ionic-native@^3.5.0的更多相关文章

  1. NPM下载出错 No compatible version found

    前言 NPM大家都熟,天天都在用.最近,NPM不断出现的下载出错 “npm ERR! Error: No compatible version found” ,已经影响到正常的开发工作,到了不得不解决 ...

  2. 解决:安装SQL Server 2008 Native Client遇到错误(在Navicat premium新建sqlserver连接时 需要):An error occurred during ...HRESULT: 0x80070422(注意尾部的错误号)

    解决:安装SQL Server 2008 Native Client遇到错误(在Navicat premium新建sqlserver连接时 需要):An error occurred during . ...

  3. Correct the classpath of your application so that it contains a single, compatible version of org.thymeleaf.spring5.SpringTemplateEngine

    Error starting ApplicationContext. To display the conditions report re-run your application with 'de ...

  4. 无法解决“Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed”与“Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed”之间的冲突。正在随意选择“Newtonsoft.Jso

    今天的程序莫名报错:  无法解决“Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed” ...

  5. 整合shiro出现【Correct the classpath of your application so that it contains a single, compatible version of org.quartz.Scheduler】

    跑的时候出现错误: Description: An attempt was made to call the method org.quartz.Scheduler.getListenerManage ...

  6. 解决Cannot change version of project facet Dynamic Web M 3.0

    解决Cannot change version of project facet Dynamic Web M 3.0 dynamic web module 版本之间的区别: Servlet 3.0 D ...

  7. java.lang.IllegalStateException: Received message from unsupported version: [5.2.2] minimal compatible version is: [5.6.0]

    启动elasticsearch-6.2.2-Windows服务时报错: java.lang.IllegalStateException: Received message from unsupport ...

  8. 整合zuul启动时报错Correct the classpath of your application so that it contains a single, compatible version of XXX

    今天集成zuul与consul的时候,出现如下错误 ***************************APPLICATION FAILED TO START******************** ...

  9. The Apache Tomcat installation at this directory is version 8.5.24 Tomcat 8.0 installation is expect

    在一台新电脑上搭建Java开发环境,JDK 是1.8,Tomcat下载了Tomcat 8.5.24,已经配置好了Java和Tomcat的环境变量,开发工具是Eclipse MARS,准备在Eclips ...

随机推荐

  1. chomp

    用来除去最后的换行等空白字符. 例程: #!/usr/bin/perl #chomp.pl use warnings; use strict; print "Input a string & ...

  2. 剑指offer——22表示数值的字符串

    题目描述 请实现一个函数用来判断字符串是否表示数值(包括整数和小数).例如,字符串"+100","5e2","-123","3.1 ...

  3. arr = map(float,arr)输出问题

    代码: arr = ['22','44','66','88']arr = map(float,arr)print(arr) 输出: <map object at 0x000001B48C30EE ...

  4. 分布式存储glusterfs

    什么是glusterfs? Glusterfs是一个开源分布式文件系统,具有强大的横向扩展能力,可支持数PB存储容量的数干客户端,通过网络互联成一个并行的网络文件系统.具有可扩展性.高性能.高可用性等 ...

  5. linux下链接时缺少动态链接库

    1, 用ln将需要的so文件链接到/usr/lib或者/lib这两个默认的目录下边 ln -s /where/you/install/lib/*.so /usr/libsudo ldconfig 2, ...

  6. Markdown文档常用字体及颜色设置

    1.字体.字号.颜色设置 <font face="微软雅黑" >微软雅黑字体</font> <font face="黑体" > ...

  7. python学习2—python3特性与各种运算符

    python学习2—python3特性与各种运算符 python3与python2相比具有的新特性 在python2中可以使用__future__模块调用python3的特性 print()函数必须带 ...

  8. USACO 2011 February Silver Cow Line /// 康拓展开模板题 oj22713

    题目大意: 输入n k,1-n的排列,k次操作 操作P:输入一个m 输出第m个排列 操作Q:输入一个排列 输出它是第几个排列 Sample Input 5 2P3Q1 2 5 3 4 Sample O ...

  9. pointer && reference

    关注点在于区别两者之间的不同. 我们可以从两者使用的场景进行区分: 1, 是否需要存在null的情况: YES-pointer NO-reference 如果确定不会存在null的情况,那么使用ref ...

  10. 关于VSCode的一些常用插件和一些常用设置

    常用插件: .Beautify :格式化 html ,js,css .Bracket Pair Colorizer :给括号加上不同的颜色,便于区分不同的区块,使用者可以定义不同括号类型和不同颜色 . ...