Quantcast
Viewing all articles
Browse latest Browse all 20

Using Node.js modules in project

Hi,

I remember I was able once to download Node.js modules using npm

sudo npm install -g themodule
and require them in my Titanium projects like this:
var m = require('themodule');
Now after I formatted my mac, Titanium Studio cannot find such modules. I even tried installing the modules inside the project without success.

Am I wrong ?


Viewing all articles
Browse latest Browse all 20

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>