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

Question about node.js implementation in .jsx file.

$
0
0

Hello ,

I have a question regarding node.js implementation in a Premiere Pro panel.

I use classic file structure as i have a html file and a jsx file for scripting that is invoked with evalScript.

It seems that node.js does not work in the jsx file as when I try to use require I get an error that require is not a function,

but if I use it in html file in <script></script>  it works fine.

Does anyone know why this happens and how how to fix this?

 

Also I had an idea to have all script in the html file but It appears that I can't access any Premiere functions as I get an error "app is undefined" (again, this works fine in the jsx file).

 

Best Regards,

Klemen


Viewing all articles
Browse latest Browse all 53010

Latest Images

Trending Articles



Latest Images