Quantcast
Channel: Adobe Community : Popular Discussions - Premiere Pro SDK
Viewing all articles
Browse latest Browse all 53010

Node JS error: "require is not defined"

$
0
0

I'm not sure when it stopped being an available function, but at one point I was able to run Node JS "require" command in the browser context.

So the following...

require("child_process");

...used to work, but now returns an error: "Uncaught ReferenceError: require is not defined"

 

The manifest.xml does include the two lines (Per David Barranca's HTML Panel Tips #19: CC2015.1 (CEP6.1) Node.js Fixes | Photoshop, etc. )

<Parameter>--enable-nodejs</Parameter><Parameter>--mixed-context</Parameter>

 

Did something change?  Any ideas why it would have stopped working?


Viewing all articles
Browse latest Browse all 53010

Latest Images

Trending Articles



Latest Images

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