Upgrade to NodeJS 4, the easy steps

NODE INSTALL/UPDATE:
Download 4.2.1 from https://nodejs.org/en/

Node.js it will be at:

npm :

Make sure that /usr/local/bin is in your $PATH using:

INSTALL NWJS:

INSTALL/UPDATE CORDOVA:

—=-=-
Validate build execution (if this apply on your build):

===-=-
KNOWN ISSUES:

Loading “sass.js” tasks…ERROR
>> Error: libsass bindings not found. Try reinstalling node-sass?
Warning: Task “sass:dist” failed. Use –force to continue.

SOLUTION:


[4mRunning “sass:dist” (sass) task
Warning:
You need to have Ruby and Sass installed and in your PATH for this task to work.
More info: https://github.com/gruntjs/grunt-contrib-sass
 Use –force to continue.

SOLUTION:
Are you using windows (arg!)? Ruby is not part of the SO.

You can install Ruby with the Ruby installer http://rubyinstaller.org, make sure you check add to PATH.

Then you can open a command prompt and do:

Uncaught ReferenceError: angular is not defined


Loading “connect_proxy.js” tasks…ERROR
>> TypeError: Cannot read property ‘prototype’ of undefined

Uncaught TypeError: tasks[(i – 1)] is not a function

Leave a Reply

Your email address will not be published. Required fields are marked *

* Copy This Password *

* Type Or Paste Password Here *