You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw that it has been answered as to whether or not it is possible to achieve this with node-pptx but I have not seen any documentation with an example. I have attached my attempt at this solution and I get errors:
this is the error that I receive attached below. lines 294 and 295 of index.js correspond to 'await output.compose' and the line that follows:
C:\Users\coumarbj\work\pptxGen\job-soms-dashboard-presentation\node_modules\nodejs-pptx\lib\presentation.js:114
await config(this.powerPointFactory.addSlide(layoutName || this.defaultSlideLayout));
^
TypeError: config is not a function
at Presentation.addSlide (C:\Users\coumarbj\work\pptxGen\job-soms-dashboard-presentation\node_modules\nodejs-pptx\lib\presentation.js:114:15)
at C:\Users\coumarbj\work\pptxGen\job-soms-dashboard-presentation\ui\index.js:295:14
at Composer.compose (C:\Users\coumarbj\work\pptxGen\job-soms-dashboard-presentation\node_modules\nodejs-pptx\lib\composer.js:20:15)
at merge (C:\Users\coumarbj\work\pptxGen\job-soms-dashboard-presentation\ui\index.js:294:18)
Node.js v22.2.0
I would also be satisfied if I could not select specific slides and I could load the entirety of the two source files and parse through with delete and re-order
The text was updated successfully, but these errors were encountered:
I saw that it has been answered as to whether or not it is possible to achieve this with node-pptx but I have not seen any documentation with an example. I have attached my attempt at this solution and I get errors:
this is the error that I receive attached below. lines 294 and 295 of index.js correspond to 'await output.compose' and the line that follows:
I would also be satisfied if I could not select specific slides and I could load the entirety of the two source files and parse through with delete and re-order
The text was updated successfully, but these errors were encountered: