Closed keenan-v1 closed 9 years ago
Did you run npm install
prior to running the build?
Yes I did.
jonathan@wurmly:/var/www/wurmly.com/vanilla/themes/bootstrap$ npm install vanilla-bootstrap@ install /var/www/wurmly.com/vanilla/themes/bootstrap bower install
That was from running it again to make sure.
For what its worth, I'm using a version of Node.js that I installed after adding the Node PPA to my Ubuntu system.
jonathan@wurmly:/var/www/wurmly.com/vanilla/themes/bootstrap$ node -v v0.10.38 jonathan@wurmly:/var/www/wurmly.com/vanilla/themes/bootstrap$ npm -v 1.4.28 jonathan@wurmly:/var/www/wurmly.com/vanilla/themes/bootstrap$
If that helps at all.
You may want to try updating to Node 0.12.x in that case. By the way, is there a reason why you need to re-compile the theme assets on what appears to be a live site?
I will try that - I will likely go the route of using nvm. Also, it's not entirely live yet. I bought a domain on sale and am using a free trial period to get things going. I haven't really dabbled in server administration in a few years, so I'm a little rusty. That, and things have changed quite a bit.
Ah, gotcha! Unless you changed any of the source files there's no need to re-compile them though; the theme is good to go out of the box :+1:
I was following the install instructions on the vanillaforums.org add-on page. I must have overlooked that. I'll probably be making changes in the future though, so it would be good to sort out issues like these now - before the site does go live. :)
Sounds good! Let me know how things work out.
Running 0.12.2, still having the same issue.
jonathan@wurmly:/var/www/wurmly.com/vanilla/themes/bootstrap$ npm run build
vanilla-bootstrap@ build /var/www/wurmly.com/vanilla/themes/bootstrap gulp
[15:20:58] Using gulpfile /var/www/wurmly.com/vanilla/themes/bootstrap/gulpfile.js [15:20:58] Starting 'styles'... [15:20:59] Starting 'scripts'... Killed
npm ERR! Linux 3.13.0-43-generic npm ERR! argv "/home/jonathan/.nvm/versions/v0.12.2/bin/node" "/home/jonathan/.nvm/versions/v0.12.2/bin/npm" "run" "build" npm ERR! node v0.12.2 npm ERR! npm v2.7.4 npm ERR! code ELIFECYCLE npm ERR! vanilla-bootstrap@ build:
gulp
npm ERR! Exit status 137 npm ERR! npm ERR! Failed at the vanilla-bootstrap@ build script 'gulp'. npm ERR! This is most likely a problem with the vanilla-bootstrap package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! gulp npm ERR! You can get their info via: npm ERR! npm owner ls vanilla-bootstrap npm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request: npm ERR! /var/www/wurmly.com/vanilla/themes/bootstrap/npm-debug.log
My best bet is that something on the server is killing the gulp process. The LESS compilation task does eat up quite a bit of memory which may be the cause. Have you tried compiling the assets locally?
No, but that makes sense. It's a VPS - cheap one too. 512MB of RAM. I will give that a try.
Well I repeated the same steps on my desktop PC (Which is running Ubuntu 14.04 as well) and it got past that issue, so I think you're right. VPS management software is likely killing the task for eating up more resources than my cheap package allows me. Thanks for the great support! :)
This is the output of npm-debug.log. Please let me know if I need to provide any other information.