当Grunticon安装到TravisCI上的Rails 4引擎上时,我们遇到了一个问题。我很想知道以下几点:
特拉维斯的错误:
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.Grunticon是使用根目录中的Gruntfile.js安装的。它触发node_modules目录中的脚本。我们遵循这个指南:https://github.com/filamentgroup/grunticon
谢谢!
更新:成功地在TravisCI上安装了npm 3。
before_install:
- npm install -g npm@3.x-latest遗憾的是,没有解决这个问题。
发布于 2015-09-15 16:51:45
在你的Travis预装..。
npm i -g npm@3Npm 3处于后期测试阶段,它将给您一个更平坦的目录结构。
注意:您需要将任何对等依赖项添加到package.json中。
https://stackoverflow.com/questions/32319074
复制相似问题