Installing Node and NPM on MAC OSX

Posted on in Environment Node JS

Node.js is a platform built on Chrome?s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

This assumes that Git is already installed and available on the command-line. Since the technology Node.js is quiet new, check at http://nodejs.org/ what the latest stable version of node.js is. For this example the latest version is v0.6.14. Open your terminal and start typing the following commands:

$ git clone git://github.com/joyent/node.git
$ cd node
$ git checkout v0.6.14
$ ./configure
$ make
$ sudo make install

Now Node.js is installed, you should also download the Node Package Manager. It?s no longer necessary to install npm separately, but if you want you can install this via the command-line as well. Use the following command:

$ curl http://npmjs.org/install.sh | sh

As an extra let?s also install MongoDB, is a large scalable high performance NoSQL database.

$ npm install mongojs

Application Loader: Error: There is no embedded Java executable.

Posted on in Environment

There you go. I installed Mac OSX Lion and iOS5 on my developer iphone.

I migrated to a new XCode 4.2 project and build my app. Everything works.. till I tried to send it to itunesconnect via the new Application Loader:
Error: ?There is no embedded Java executable. Please reinstall the Xcode developer tools.?

Solution? Rollback to Application Loader 1.3 again.
You can download it here: http://itunesconnect.apple.com/apploader/ApplicationLoader_1.3.dmg

Setup JSLint for Eclipse/Aptana

Posted on in Environment

JSLint @ https://github.com/douglascrockford/JSLint

  1. Preferences

  2. Filter for validation

  3. Check Javascript & enable JSLint.

Make sure your error tab open, to view your js.