How to get around issue where "circle.yml specified cache directories ... but they don't exist"

i am trying to cache directories node_modules and bower_components, but they are within a checkout project path, ex. /home/ubuntu/circleci_job/project_name/bower_components/

is there a way to get circleci to cache these subdirectories within the checked out repo? or do they have to be at the root ex. /home/ubuntu/nvm/?

2 Likes

Also would like to know this, as our build would be sped up quite a bit by figuring it out.