Can not find jsreport-proxy module
-
I have tried to use jsreport-proxy, but I got the same error as @Павло-Мацібох and @赵大程 For creating pdf I use node.js and jsreport-core with packages:
jsreport-pdf-utils, jsreport-handlebars, jsreport-chrome-pdf, jsreport-scripts
Do I need some additional packages for possibility to use module jsreport-proxy?
Thanks for help)
-
https://jsreport.net/learn/scripts#rendering-another-template-from-script
The jsreport-proxy can't be installed from the npm, it is just a virtual module provided automatically to your sandbox.In other words, you can call
require('jsreport-proxy')
from inside templating engine helpers or from the jsreport custom script.
-
I tried to do what you said but unfortunetely isn't solved my problem. See the error that i have in project in above image
-
it's a error that i have. How do can i solve this?
-
Please replicate the problem in a MINIMAL public repository so I can take a look at the code.