Hi,
I use CircleCI to test the build process of my blog which is running metalsmith, a static site generator.
Some hours ago, I decided to add some modules, commited and pushed the changes to GitHub and realized that CircleCI was using an older Node version than I was using locally, thus failed to build the project (build #72). A quick peek into the docs revealed that this is easy fixable by setting the Node version accordingly in the the circle.yml
file (which I wasn’t using at all before that).
Then I pushed the update and noticed that now the build fails because Grunt and Bower was not globally available, easy fixed by installing those via pre
commands (build #74 *).
Now the actual problem: I pushed the updated environment and now the build fails once again because apparently the libsass
binding was not found (build #84 *). The error message also mentioned that this “usually happens because your node version has changed” and that I should try to recompile manually using $ npm rebuild node-sass
. Because you guys provide the option to SSH into the test box and debug manually, I did exactly that and ran the command: no problems. Even running grunt
(the actual test command) worked just fine.
Because that feels like a caching issue, I decided to “Rebuild without cache” but for some reasons it fails at a completely different package when trying this: build #85
Unfortunately I can’t SSH into “cacheless builds” to try recompiling said module manually.
Can anyone shed some light into this?
Thanks in advance!
Edit: Nevermind, Build #85 is actually the fixed one, not sure why it works now. But apparently hitting “Rebuild without cache” several times works wonders. — Issue fixed!
* Since new Discuss users can’t add more than two links, I had to remove some of them - you need to manually navigate to the web pages.