问题log

$ npm install
-npm ERR! 404 Not Found
npm ERR! 404
npm ERR! 404 'types/mocha' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404 It was specified as a dependency of 'cpplint'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.
npm ERR! System Linux 4.8.12-040812-generic
npm ERR! command "/home/travis/.nvm/v0.10.36/bin/node" "/home/travis/.nvm/v0.10.36/bin/npm" "install"
npm ERR! cwd /home/travis/build/secularbird/cpplint-extension
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.4.28
npm ERR! code E404
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/travis/build/secularbird/cpplint-extension/npm-debug.log
npm ERR! not ok code 0

原因

nodejs的版本不够

解决方法

.travis.yml 中添加下nodejs的版本

language: node_js
node_js:
- "6"

refer: https://docs.travis-ci.com/user/languages/javascript-with-nodejs/

最新文章

  1. Xamarin.Forms 免费电子书
  2. iOS xib中TableView创建的2种模式
  3. 在Visual Studio里配置及查看IL(转载)
  4. 将Ftp添加到资源管理器中直接使用
  5. OleDbCommand cmd.Parameters.AddWithValue 添加参数时需要按照存储过程参数的顺序加入
  6. 树莓派上搭建arduino开发环境
  7. makefile笔记6 - makefile条件判断
  8. TCP简介(一)
  9. [转]Fiddler模拟post四种请求数据
  10. Python 爬虫实例(9)—— 搜索 爬取 淘宝
  11. Mobile First! Wijmo 5 之 架构
  12. python设计模式之单例
  13. “==”和equals方法究竟有什么区别?
  14. L313 珊瑚裸鼠灭绝
  15. html地址--待更新
  16. FileTable使用总结
  17. 蚂蚁感冒|2014年蓝桥杯B组题解析第八题-fishers
  18. Python基础:内置类型(未完待续)
  19. 汉诺塔问题的算法分析与实现(Java)
  20. ator自动生成mybatis配置和类信息

热门文章

  1. go语言学习杂记
  2. 全文检索引擎Solr系列——Solr核心概念、配置文件
  3. FTP,FTPS,FTPS与防火墙
  4. Java-Maven-Runoob:Maven 自动化构建
  5. Maven使用阿里云镜像
  6. 32位机,CPU是如何利用段寄存器寻址的
  7. iOS平台下闪退原因汇总(一):"Ran out of trampolines of type 0/1/2" 运行时间错误
  8. node.js中的buffer.fill
  9. JAVA的FileOutput/InputStream使用实例
  10. RabbitMQ操作方法