I have a Node.js build that uses grunt. I created a plan with a task that has a requirement for Node 0.10. (This requirement caused Bamboo to exclude Windows machines as agent candidates.)
Unfortunately, when the build runs, it cannot find npm. When I SSH into the elastic instance and try to run just "node", it is not found.
What about npm, can it find it? What if you type 'nodejs' instead of 'node'?
You can install missing packages or symlink existing binaries using instance setup script found on image configuration page.
It's not finding npm or nodejs... I'll take a look at the image configuration page
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, I'm back trying to get this working. I don't see where on the Image Configuration page I can do what you are suggesting.
I've also tried to get an Ubuntu instance running, because that's what we're using for development. Unfortunately that seems to just hang when it's trying to create the Elastic Agent. (I was thinking that if I could get Ubuntu running, I could execute an install script that put node and npm on the machine.)
Any suggestions would be welcome... I think I'm trying to do the simplest possible thing with Node, so surprised it's not working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Looks like Node is not installed by default on Bamboo images.
I was able to add
apt-get update apt-get install -y python-software-properties python g++ make add-apt-repository -y ppa:chris-lea/node.js apt-get update apt-get install -y nodejs apt-get install -y npm
to the 'Instance Startup Script' section of the 'Image Configuration' settings in Bamboo. That brought in the latest version of Node (0.10.xx).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Node is in /opt/node-0.10 IIRC.
There will be a new, fixed Ubuntu image today or tomorrow. It will also carry a brand new node.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.