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 am a nodeJS newbie and I apologize if this is a basic question.
I'm attempting to use PptxGenJS from a simple standalone nodeJS script. I've used NPM to install the pptxgenjs module locally. When I try to import the module into my script, the require keyword returns an empty object.
Here is my code where pptxgenjs is the empty object that is returned.
var pptxgenjs = require ('pptxgenjs');
Is this a supported use of PptxGenJS? I notice the examples are all called from an HTML page.
If so, can anyone help me understand how to import the module into my script?
Thanks,
Travis
The text was updated successfully, but these errors were encountered:
Hello,
I am a nodeJS newbie and I apologize if this is a basic question.
I'm attempting to use PptxGenJS from a simple standalone nodeJS script. I've used NPM to install the pptxgenjs module locally. When I try to import the module into my script, the require keyword returns an empty object.
Here is my code where
pptxgenjs
is the empty object that is returned.var pptxgenjs = require ('pptxgenjs');
Is this a supported use of PptxGenJS? I notice the examples are all called from an HTML page.
If so, can anyone help me understand how to import the module into my script?
Thanks,
Travis
The text was updated successfully, but these errors were encountered: