danielgtaylor / aglio

An API Blueprint renderer with theme support that outputs static HTML
4.75k stars 481 forks source link

Fails to install on Jenkins #178

Open voor opened 9 years ago

voor commented 9 years ago

This is the continuation of #157 in a new issue, since it specifically deals with Jenkins issues.

Specifically, Jenkins does not have node on its path by default, so the following fails:


> aglio-theme-olio@1.2.1 postinstall /usr/local/lib/node_modules/aglio/node_modules/aglio-theme-olio
> node scripts/setup-cache.js

sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
danielgtaylor commented 9 years ago

@voor any ideas on how to fix this? The problem is that without this script I have doubts the permissions will be set up properly to allow the Jenkins user to write to the cache later. All your tests will run slower as each time it will have to compile and attempt to write out template/css caches.

sdomula commented 9 years ago

The installation works for me with nodejs version 0.10.40, but not with newer releases.