Bri*_*313 8 ruby-on-rails node.js npm travis-ci
当Grunticon被安装到TravisCI上的Rails 4引擎时,我们遇到了一个问题.我很感激任何想法:
Travis出错:
Gem::Package::TooLongFileName: File "node_modules/grunt-grunticon/node_modules/grunticon-lib/node_modules/directory-colorfy/node_modules/phantomjs/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile" has a too long path (should be 256 or less)
An error occurred while installing trusty-convoy-extension (0.0.3), and Bundler
cannot continue.
Make sure that `gem install trusty-convoy-extension -v '0.0.3'` succeeds before
bundling.
The command "eval bundle install --jobs=3 --retry=3 --deployment --path=${BUNDLE_PATH:-vendor/bundle}" failed. Retrying, 2 of 3.
Run Code Online (Sandbox Code Playgroud)
在我们的根目录中使用Gruntfile.js安装Grunticon.这会触发node_modules目录中的脚本.我们遵循了这个指南:https://github.com/filamentgroup/grunticon
谢谢!
更新:在TravisCI上成功安装npm 3.
before_install:
- npm install -g npm@3.x-latest
Run Code Online (Sandbox Code Playgroud)
可悲的是,没有解决这个问题.
在你的 Travis 预安装中..
npm i -g npm@3
Run Code Online (Sandbox Code Playgroud)
Npm 3 处于后期测试阶段,将为您提供更加扁平的目录结构。
注意:您需要将所有对等依赖项添加到 package.json 中
| 归档时间: |
|
| 查看次数: |
211 次 |
| 最近记录: |