SDK icon indicating copy to clipboard operation
SDK copied to clipboard

Cannot convert undefined or null to object

Open iftkharhussain opened this issue 3 years ago • 1 comments

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

iftkharhussain avatar Jun 24 '22 14:06 iftkharhussain

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

daniellockyer avatar Jun 12 '23 07:06 daniellockyer