NativeScript installation error

I was getting an error trying to install NativeScript (on my Mac).  Here’s (part of) the error I got:

TypeError: Object function Object() { [native code] } has no method ‘assign’ at Object.<anonymous> (/usr/local/lib/node_modules/npm/lib/config/cmd-list.js:113:33)


The solution: I thought I had the right version of Node installed; but I didn’t.  Even after doing “brew update”.  I manually re-installed Node (going to the official site) to make sure I had the latest version; then I was able to run npm correctly.


Comments are now closed.