Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cannot convert undefined or null to object #437

Open
iftkharhussain opened this issue Jun 24, 2022 · 1 comment
Open

Cannot convert undefined or null to object #437

iftkharhussain opened this issue Jun 24, 2022 · 1 comment

Comments

@iftkharhussain
Copy link

Hi there,

I am using this '@tryghost/html-to-mobiledoc' plugin in React APP for converting HTML to mobiledoc, it is a great tool, and its working fine in development mode
but
in production mode (react build) it creates the error 'Cannot convert undefined or null to object' .

Technical details:

"react": "^17.0.2",
"@tryghost/html-to-mobiledoc": "^1.8.6",

image

@daniellockyer
Copy link
Member

Hey @iftkharhussain, do you have a reproduction that I can use?

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

No branches or pull requests

2 participants