Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
been trying to run p2pool-scanner and it keeps throwing up this error
@anthonyschimke: Looks like p2pool-scanner was written for express 3.x but you have express 4.x installed. Express 4.x does not have a configure method. This is a bug in p2pool-scanner. You might be able to work around it by, uninstalling express and then reinstalling it forcing the old version:
<pre> npm uninstall -g express npm install -g express@3.8.0 </pre>
Thanks for the info.
When I use the sudo add-apt-repository ppa:chris-lea/node.js method, Node installs fine (0.10.28). And later I can install NPM ok (1.4.9). However when I try npm install express (or npm install -g express), I get errors (just a sample below):
npm ERR! Error: EACCES, mkdir ‘/usr/share/nodejs/node_modules’ npm ERR! { [Error: EACCES, mkdir ‘/usr/share/nodejs/node_modules’] npm ERR! errno: 3,
npm ERR! Please try running this command again as root/Administrator.
From what I can understand, using the ppa:chris-lea method means I can only install express using sudo. But I’ve read that this is not recommended.
I’ve tried chowning to my whoami username in several directories, but I’m still having no luck finding a solution.
Can you possibly help me?
Thanks
FWIW, I have a node file (test.js) in my /usr/share/node directory which runs fine in my terminal on port 8080.
@bjones1831: You should only need <code>sudo</code> if you are installing it globally with “<code>-g</code>” Are you running it in <code>/usr/share/nodejs/</code> ? If so, that’s why you need root permissions. Try moving your project to a directory you have write access to, like your home directory.
The PPA also installs the binary /usr/bin/nodejs So you might want to run:
<pre> sudo ln -s /usr/bin/nodejs /usr/bin/node </pre>
I am really having a lot of difficulty in getting this to work for me. In the year and a half in to learning software development, I am finding that I most often have problems with having to fight with getting my dev environment set up correctly than I do actually learning the programming language(s). Anyway, I made up some gist files of my terminal output in the order I have tried getting this to work for me and would greatly appreciate any help with getting this to work for me.
First I tried this:
https://gist.github.com/jacqueline-homan/ce96b7e21493ca13e734#file-unable-to-get-yoeman-and-bower
Then I tried this (which worked for the npm part of it):
https://gist.github.com/jacqueline-homan/d1a051750dc360d058bb#file-this-worked
But when I tried to install nvm, it failed and I don’t know how to get it to work for me:
https://gist.github.com/jacqueline-homan/bebbb88250ee5f776e64#file-installing-nvm-did-not-work
@jacquelinehoman7: https://raw.githubusercontent.com/creationix/nvm/v.10.0/install.sh is invalid. You can find the correct URL here: creationix/nvm: https://raw.githubusercontent.com/creationix/nvm/v0.10.0/install.sh.
These instructions are incomplete. Packages like grunt will attempt to execute scripts at the command line using “node”, not “nodejs”. I for one am looking for instructions about the correct way to fix this. I could remove the package (“node”) but I don’t know what it does. Or I could remove it from my path…