react-email icon indicating copy to clipboard operation
react-email copied to clipboard

TypeError: Cannot read properties of undefined (reading 'injectIntoGlobalHook')

Open Nv7-GitHub opened this issue 1 year ago • 0 comments

Describe the Bug

When I run email dev, it opens up in the browser but none of the buttons work and it doesn't automatically refresh, although the CLI seems to print it. Looking in the browser console, the error

TypeError: Cannot read properties of undefined (reading 'injectIntoGlobalHook')

Is in there. I used the manual setup process and I think I must have done something wrong but I'm not sure what.

Which package is affected (leave empty if unsure)

No response

Link to the code that reproduces this issue

It is unfortunately private.

To Reproduce

I followed all the steps in

https://react.email/docs/getting-started/manual-setup

Please reply to ask any followup questions for specific details!

Expected Behavior

I would like to use the buttons available in the UI (the mobile/desktop view buttons and Send button) as well as have hot refresh work.

What's your node version? (if relevant)

I am using Bun 1.1.20

Nv7-GitHub avatar Aug 21 '24 05:08 Nv7-GitHub