Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all articles
Browse latest Browse all 12845

Node.js in CC2014 not accepting require

$
0
0

Hello,

 

I'm attempting to use modules like fs and https and JSON - We upgraded to CC2014 at work and in Illustrator, I want to work with some JSON files.

 

My error is that this one line,

 

var http = require('http');
Does not work.
The error returned is
Error 24: require is not a function. -> Line 1 var http = require('http');
Why would that be, given the node.js introduction in CC2014?


Thank you,
Alex


Viewing all articles
Browse latest Browse all 12845

Trending Articles



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