Copy link to clipboard
Copied
Hi, I am trying to use exiftool-vendored to read some EXIF metadata of media, I have node js script file that works perfectly, but as soon as I import it into the CEP panel context via 'require' it gives me 'Uncaught Error: Cannot find module 'node:events''. Events is native node module and it seems it is not available in cep context.
So I was trying to setup a simple server adding the tag to index.html:
the server works perfectly and I am able to recieve callbacks, however as soon as I use require to get exiftool-vendored module into the server script file it breaks again
is there a way to run standalone server file, simillar to 'node server.js' that will be laucnhed from cep panel, but will have node js context?
1 Correct answer
I have no idea.
Here's some potentially relevant info:
https://stackoverflow.com/questions/49655154/access-node-in-adobe-cep-extension
https://blog.developer.adobe.com/how-to-build-a-node-js-server-in-a-panel-ba1d63ea67e2
Copy link to clipboard
Copied
I have no idea.
Here's some potentially relevant info:
https://stackoverflow.com/questions/49655154/access-node-in-adobe-cep-extension
https://blog.developer.adobe.com/how-to-build-a-node-js-server-in-a-panel-ba1d63ea67e2

