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!
In case you get something like: jurikolo@ubuntu:/opt/mean$ sudo bower --allow-root --config.interactive=false install bower bootstrap#~3 not-cached git://github.com/twbs/bootstrap.git#~3 bower bootstrap#~3 resolve git://github.com/twbs/bootstrap.git#~3 bower angular#~1.2 not-cached git://github.com/angular/bower-angular.git#~1.2 bower angular#~1.2 resolve git://github.com/angular/bower-angular.git#~1.2 bower angular-resource#~1.2 not-cached git://github.com/angular/bower-angular-resource.git#~1.2 bower angular-resource#~1.2 resolve git://github.com/angular/bower-angular-resource.git#~1.2 bower angular-animate#~1.2 not-cached git://github.com/angular/bower-angular-animate.git#~1.2 bower angular-animate#~1.2 resolve git://github.com/angular/bower-angular-animate.git#~1.2 bower angular-mocks#~1.2 not-cached git://github.com/angular/bower-angular-mocks.git#~1.2 bower angular-mocks#~1.2 resolve git://github.com/angular/bower-angular-mocks.git#~1.2 bower angular-bootstrap#~0.12.0 not-cached git://github.com/angular-ui/bootstrap-bower.git#~0.12.0 bower angular-bootstrap#~0.12.0 resolve git://github.com/angular-ui/bootstrap-bower.git#~0.12.0 bower angular-ui-utils#~0.1.1 not-cached git://github.com/angular-ui/ui-utils.git#~0.1.1 bower angular-ui-utils#~0.1.1 resolve git://github.com/angular-ui/ui-utils.git#~0.1.1 bower angular-ui-router#~0.2.11 not-cached git://github.com/angular-ui/ui-router.git#~0.2.11 bower angular-ui-router#~0.2.11 resolve git://github.com/angular-ui/ui-router.git#~0.2.11
bower bootstrap#~3 ECMDERR Failed to execute “git ls-remote --tags --heads git://github.com/twbs/bootstrap.git”, exit code of #128
Additional error details: fatal: unable to connect to github.com: github.com[0: 192.30.252.128]: errno=Connection timed out
Try following workaround:
jurikolo@ubuntu:/opt/mean$ sudo git config --global url."https://".insteadOf git://
This will tell Git to use HTTPS instead of GIT.
It all went ok until I tried running grunt!
vagrant@vagrant-ubuntu-precise-64:/opt/mean$ grunt
Loading "jshint.js" tasks...ERROR
>> Error: Cannot find module 'jshint'
Loading "grunt-karma.js" tasks...ERROR
>> SyntaxError: Error parsing /opt/mean/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/package.json: Unexpected end of input
Warning: Task "jshint" not found. Used --force, continuing.
Running "concurrent:default" (concurrent) task
Loading "jshint.js" tasks...ERROR
>> Error: Cannot find module 'jshint'
Loading "jshint.js" tasks...ERROR
>> Error: Cannot find module 'jshint'
Loading "grunt-karma.js" tasks...ERROR
>> SyntaxError: Error parsing /opt/mean/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/package.json: Unexpected end of input
Running "watch" task
Waiting...
Loading "grunt-karma.js" tasks...ERROR
>> SyntaxError: Error parsing /opt/mean/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/package.json: Unexpected end of input
Running "nodemon:dev" (nodemon) task
[nodemon] v1.2.1
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: app/views/**/*.* gruntfile.js server.js config/**/*.js app/**/*.js
[nodemon] starting `node --debug server.js`
Debugger listening on port 5858
NODE_ENV is not defined! Using default development environment
module.js:338
throw err;
^
Error: Cannot find module './commands/base_command'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at /opt/mean/node_modules/mongoose/node_modules/mongodb/lib/mongodb/index.js:26:17
at Array.forEach (native)
at Object.<anonymous> (/opt/mean/node_modules/mongoose/node_modules/mongodb/lib/mongodb/index.js:25:25)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
[nodemon] app crashed - waiting for file changes before starting...
^Cvagrant@vagrant-ubuntu-precise-64:/opt/mean$ cd /opt/mean
vagrant@vagrant-ubuntu-precise-64:/opt/mean$ grunt
Loading "jshint.js" tasks...ERROR
>> Error: Cannot find module 'jshint'
Loading "grunt-karma.js" tasks...ERROR
>> SyntaxError: Error parsing /opt/mean/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/package.json: Unexpected end of input
Warning: Task "jshint" not found. Used --force, continuing.
Running "concurrent:default" (concurrent) task
Loading "jshint.js" tasks...ERROR
>> Error: Cannot find module 'jshint'
Loading "jshint.js" tasks...ERROR
>> Error: Cannot find module 'jshint'
Loading "grunt-karma.js" tasks...ERROR
>> SyntaxError: Error parsing /opt/mean/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/package.json: Unexpected end of input
Running "watch" task
Waiting...
Loading "grunt-karma.js" tasks...ERROR
>> SyntaxError: Error parsing /opt/mean/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/package.json: Unexpected end of input
Running "nodemon:dev" (nodemon) task
[nodemon] v1.2.1
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: app/views/**/*.* gruntfile.js server.js config/**/*.js app/**/*.js
[nodemon] starting `node --debug server.js`
Debugger listening on port 5858
NODE_ENV is not defined! Using default development environment
module.js:338
throw err;
^
Error: Cannot find module './commands/base_command'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at /opt/mean/node_modules/mongoose/node_modules/mongodb/lib/mongodb/index.js:26:17
at Array.forEach (native)
at Object.<anonymous> (/opt/mean/node_modules/mongoose/node_modules/mongodb/lib/mongodb/index.js:25:25)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
[nodemon] app crashed - waiting for file changes before starting...
I discharge node, unzipped it and enter the folder but ./configure I get -bash: ./configure: No such file or directory
I’m getting an error when trying to run grunt at the end of the process:
bootstrap#3.3.5 public/lib/bootstrap └── jquery#2.1.4
jquery#2.1.4 public/lib/jquery erictrose@skinserver4:/opt/mean$ grunt /opt/mean/node_modules/grunt/node_modules/grunt-legacy-log/node_modules/lodash/dist/lodash.js:2346 /** ^^^ SyntaxError: Unexpected token ILLEGAL at exports.runInThisContext (vm.js:73:16) at Module._compile (module.js:443:25) at Object.Module._extensions…js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Module.require (module.js:365:17) at require (module.js:384:17) at Object.<anonymous> (/opt/mean/node_modules/grunt/node_modules/grunt-legacy-log/index.js:20:9) at Module._compile (module.js:460:26) at Object.Module._extensions…js (module.js:478:10)
Thanks in advance for any help.
is anyone else getting: /usr/bin/env: python: No such file or directory
After running ./configure ?
There is a configure file listed in the directory, not sure what I need to do to run it. To get the source, I ran: wget https://nodejs.org/dist/v0.12.7/node-v0.12.7.tar.gz
This is one of the best tutorials I have ever read. I will likely use this as a template for all of my technical writing. Thank you.
I might suggest a small edit. Your sentence: “Enter the directory and tell npm to install all of the packages the project references.”
Did you mean to write: “Enter the directory and tell npm to install all of the packages and the project references.”
Either way. Thank you so much for the great article.
RH
on sudo npm install step I am getting this error: npm WARN cannot run in wd meanjs@0.3.3 bower install --config.interactive=false (wd=/opt/mean)
and on grunt step i get this: Running “jshint:all” (jshint) task
57 files lint free.
Running “csslint:all” (csslint) task
2 files lint free.
Running “copy:localConfig” (copy) task Warning: Unable to write “config/env/local.js” file (Error code: EACCES). Used --force, continuing.
rs
[nodemon] watching: app/views//. gruntfile.js server.js config//.js app/**/.js
[nodemon] starting node --debug server.js
debugger listening on port 5858
NODE_ENV is not defined! Using default development environment
[nodemon] watching 25,409 files - this might cause high cpu usage. To reduce use “–watch”.Could not connect to MongoDB! Error: failed to connect to [localhost:27017]
Tried various solutions suggested on other forums, but couldn’t fix this. Can anyone help?