[vscode] github travis 集成问题
2017-05-10 12:01
429 查看
问题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/
相关文章推荐
- go install github.com/cweill/gotests/gotests 关于VSCODE安装golang插件不成功的问题
- codevs 赋值问题 1707
- 关于VSCode运行时始终在终端窗口的问题
- CODE[VS]1014 装箱问题
- CodeVS 1295 N皇后问题 题解
- 【CODEVS】倒水问题
- 【日常学习】【背包DP】codevs1014 装箱问题题解
- codevs 1222 信与信封问题(二分图的完美匹配)
- 【Codevs1282】 约瑟夫问题 树状数组 (11/1000)
- VSCODE 全局搜索无效的问题
- 【题解】 状态压缩 CSYZOJ 1040 || codevs 1295 || hdu 2553 N皇后问题
- [Sencha ExtJS & Touch] VS Code 的 Sencha 扩展(智能提示,代码导航和集成Build操作等)
- VS 2015 ,与Github的小问题笔记
- Codevs 数字三角形 问题合集
- codevs 1033 蚯蚓的游戏问题
- 【CodeVS1226】倒水问题
- 核电站问题(codevs 2618)
- 【CODEVS1282】约瑟夫问题
- CODEVS 1116 四色问题(DFS)
- vs2015 EF code first 问题待解决