Closed DS0818 closed 5 years ago
Hey, this resource will give you all the info you need to develop with NodeJS in a panel: https://medium.com/adobetech/how-to-build-a-node-js-server-in-a-panel-ba1d63ea67e2
A quick fix might be cep_node.require('fs');
, but you should take a look at the mentioned article, as it gives a great introduction.
Thank you very much.
I don't know why I can't use nodejs when I use it.
index.js:
manifest.xml: Version="6.0"
ERROR:
[1214/173956.762:INFO:CONSOLE(1)] "Uncaught (in promise) TypeError: t.readFile is not a function", source: file:///C:/Program%20Files%20(x86)/Common%20Files/Adobe/CEP/extensions/adobeIllsrtatorPlug/js/chunk-67f648f4.0879382a.js (1)
This is part of the code.
If I use it incorrectly, can you give me a reference example with code? I want to learn, mainly to use nodejs. Thank you!