# Circle-Ci build failed

**URL:** <https://discuss.circleci.com/t/circle-ci-build-failed/26498>\
**Category:** Build Environment\
**Tags:** nodejs\
**Created:** [November 14, 2018, 2:52am UTC](https://discuss.circleci.com/t/circle-ci-build-failed/26498 "2018-11-14T02:52:58Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![nicolas-albert](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/nicolas-albert/32/16544_2.png) [@nicolas-albert](https://discuss.circleci.com/u/nicolas-albert)\
**Post date:** [January 4, 2019, 10:04am UTC](https://discuss.circleci.com/t/circle-ci-build-failed/26498/5 "2019-01-04T10:04:43Z")

</div>

This look like my actual case and also the followings:

> [@Fetching $CIRCLE\_TAG doesn't seem to work](https://discuss.circleci.com/t/fetching-circle-tag-doesnt-seem-to-work/19014):
>
> During the checkout process, it looks like CircleCI is basically executing the following sequence of commands: git fetch --force origin "refs/tags/${CIRCLE\_TAG}" git reset --hard "$CIRCLE\_SHA1" git checkout -q "$CIRCLE\_TAG" Unfortunately, I get an error message when it tries to checkout the tag. error: pathspec 'release-2017-12-22T15\_28\_47-05\_00' did not match any file(s) known to git. Exited with code 1 Any idea what’s going on here?

[https://discuss.circleci.com/t/builds-using-git-tags-failing/14904](https://discuss.circleci.com/t/builds-using-git-tags-failing/14904)

Their solution was to disable cache of the .git folder before the checkout (to speedup checkout).  
I’m sure it work but the checkout time can be long on some projects and their is no --depth configuration for git to save some data transfer.

---

_[View the full topic](https://discuss.circleci.com/t/circle-ci-build-failed/26498)._
