I'm trying to load exisiting powerpoint and add some slide to him.
But when I save it, I get this stacktrace:
(node:10568) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'Relationships' of undefined at PptRelsFactory.addPresentationToSlideRelationship (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\factories\ppt\rels.js:24:56) at PptFactory.addSlide (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\factories\ppt\index.js:64:80) at PowerPointFactory.addSlide (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\factories\index.js:127:52) at Presentation.addSlide (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\presentation.js:112:45) at D:\development\sprint-reviewer\index.js:71:18 at Composer.compose (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\composer.js:20:15) at createPptx (D:\development\sprint-reviewer\index.js:65:10) at D:\development\sprint-reviewer\index.js:42:5 at processTicksAndRejections (internal/process/task_queues.js:85:5) (node:10568) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:10568) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. (node:10568) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'Relationships' of undefined at PptRelsFactory.addPresentationToSlideRelationship (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\factories\ppt\rels.js:24:56) at PptFactory.addSlide (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\factories\ppt\index.js:64:80) at PowerPointFactory.addSlide (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\factories\index.js:127:52) at Presentation.addSlide (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\presentation.js:112:45) at D:\development\sprint-reviewer\index.js:83:14 at Composer.compose (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\composer.js:20:15) at createPptx (D:\development\sprint-reviewer\index.js:65:10) at D:\development\sprint-reviewer\index.js:42:5 at processTicksAndRejections (internal/process/task_queues.js:85:5) (node:10568) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) (node:10568) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'Types' of undefined at ContentTypeFactory.addDefaultContentType (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\factories\content-types.js:29:44) at ContentTypeFactory.addDefaultMediaContentTypes (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\factories\content-types.js:21:14) at PowerPointFactory.addDefaultMediaContentTypes (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\factories\index.js:241:33) at Presentation.save (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\presentation.js:163:32) at Composer.save (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\composer.js:25:33) at createPptx (D:\development\sprint-reviewer\index.js:91:10) at D:\development\sprint-reviewer\index.js:42:5 at processTicksAndRejections (internal/process/task_queues.js:85:5) (node:10568) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)
I'm trying to load exisiting powerpoint and add some slide to him. But when I save it, I get this stacktrace:
(node:10568) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'Relationships' of undefined at PptRelsFactory.addPresentationToSlideRelationship (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\factories\ppt\rels.js:24:56) at PptFactory.addSlide (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\factories\ppt\index.js:64:80) at PowerPointFactory.addSlide (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\factories\index.js:127:52) at Presentation.addSlide (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\presentation.js:112:45) at D:\development\sprint-reviewer\index.js:71:18 at Composer.compose (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\composer.js:20:15) at createPptx (D:\development\sprint-reviewer\index.js:65:10) at D:\development\sprint-reviewer\index.js:42:5 at processTicksAndRejections (internal/process/task_queues.js:85:5) (node:10568) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:10568) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. (node:10568) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'Relationships' of undefined at PptRelsFactory.addPresentationToSlideRelationship (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\factories\ppt\rels.js:24:56) at PptFactory.addSlide (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\factories\ppt\index.js:64:80) at PowerPointFactory.addSlide (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\factories\index.js:127:52) at Presentation.addSlide (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\presentation.js:112:45) at D:\development\sprint-reviewer\index.js:83:14 at Composer.compose (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\composer.js:20:15) at createPptx (D:\development\sprint-reviewer\index.js:65:10) at D:\development\sprint-reviewer\index.js:42:5 at processTicksAndRejections (internal/process/task_queues.js:85:5) (node:10568) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) (node:10568) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'Types' of undefined at ContentTypeFactory.addDefaultContentType (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\factories\content-types.js:29:44) at ContentTypeFactory.addDefaultMediaContentTypes (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\factories\content-types.js:21:14) at PowerPointFactory.addDefaultMediaContentTypes (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\factories\index.js:241:33) at Presentation.save (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\presentation.js:163:32) at Composer.save (D:\development\sprint-reviewer\node_modules\nodejs-pptx\lib\composer.js:25:33) at createPptx (D:\development\sprint-reviewer\index.js:91:10) at D:\development\sprint-reviewer\index.js:42:5 at processTicksAndRejections (internal/process/task_queues.js:85:5) (node:10568) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)