We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code to reproduce error: import PPTXCompose from "pptx-compose"; const composer = new PPTXCompose();
Error: const composer = new PPTXCompose(); ^ TypeError: PPTXCompose is not a constructor
System Configuration: OS: Windows 10 Node: v14.15.1
@shobhitsharma
The text was updated successfully, but these errors were encountered:
I ran into this as well. I solved it by using require() rather than import.
const PPTXCompose = require('pptx-compose').default const composer = new PPTXCompose();
Sorry, something went wrong.
Thanks for report, I will fix today and bump the version.
Still same error.
No branches or pull requests
Code to reproduce error:
import PPTXCompose from "pptx-compose";
const composer = new PPTXCompose();
Error:
const composer = new PPTXCompose();
^
TypeError: PPTXCompose is not a constructor
System Configuration:
OS: Windows 10
Node: v14.15.1
@shobhitsharma
The text was updated successfully, but these errors were encountered: