Skip to content
New issue

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

err TypeError: Cannot read property 'text' of undefined #106

Closed
ninas880025 opened this issue Jun 21, 2017 · 6 comments
Closed

err TypeError: Cannot read property 'text' of undefined #106

ninas880025 opened this issue Jun 21, 2017 · 6 comments
Assignees
Milestone

Comments

@ninas880025
Copy link

Hi I met this error when using addTable. Below is my code:

image 116
This is 'tab':
image 115
all the options object is 'options': { fill: '6f9fc9' }

and I got this error:
image 114

I couldn't figure it out. Please help me. thanks!

@gitbrent gitbrent self-assigned this Jun 22, 2017
gitbrent pushed a commit that referenced this issue Jun 24, 2017
@gitbrent
Copy link
Owner

Hi @ninas880025 ,

Thanks for reporting this, and extra thanks for the stack trace! 👍

Those few undefined entries are likely the cause.

I've updated the code to avoid this error, so please verify if you can.

@gitbrent gitbrent added this to the v1.6.0 milestone Jun 24, 2017
@ninas880025
Copy link
Author

ok thanks! I use npm to install pptxgenjs so now I can renpm install right?

@ninas880025
Copy link
Author

Hello,
I dowloaded new version (1.6.0) and then I found this error:
'Cannot read property 'opts' of undefined '
I didn't change my code, just download it and run.
image 117

can you help me with this? thanks!

gitbrent pushed a commit that referenced this issue Jun 29, 2017
@gitbrent
Copy link
Owner

Hi @ninas880025 ,

Thanks for the feedback!

I've fixed the issue above and found another place where null/undefined values would cause errors and fixed that as well.

Please let me know how the newest version works.

@ninas880025
Copy link
Author

Hi, the newest version works! thanks so much!

@gitbrent gitbrent closed this as completed Jul 3, 2017
@ninas880025
Copy link
Author

Hi Sorry,
Could you help me to push this version to npm install? Cause my project need to use npm install to grab this version. thank you so much!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants