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

Cannot set property createElement of #<Object> which is only a getter #571

Closed
abarcenas29 opened this issue May 28, 2017 · 2 comments
Closed
Assignees

Comments

@abarcenas29
Copy link

abarcenas29 commented May 28, 2017

Description

What you are reporting: I am following this set of instructions on how to setup React hot loarder. But when I go to step 3 where I put the patch, it breaks in to the one below.

Expected behavior

What you think should happen: Should work properly

Actual behavior

image

Environment

React Hot Loader version: next

Run these commands in the project folder and fill in their results:

  1. node -v: 7.9.0
  2. npm -v: 4.2.0

Then, specify:

  1. Operating system: Windows 10
  2. Browser and version: Latest Chrome

Reproducible Demo

https://github.com/abarcenas29/preact-sandbox-v0/blob/wip/hot-reloader/src/main.js

branch: wip-hot-reloader

Instructions:

  • yarn
  • yarn run postinstall
  • yarn run start:dev
@robertklep
Copy link

robertklep commented Jun 21, 2017

I'm running into the same issue, and it's related to preact-compat: preactjs/preact-compat#392

@gregberge
Copy link
Collaborator

I you still experienced some issues, give a try to React Hot Loader v4. It has been entirely rewritten. I close this issue, feel free to reopen one if you experienced an issue.

@theKashey theKashey self-assigned this Dec 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants