blackjk3 / react-form-builder

A complete react form builder that interfaces with a json endpoint to load and save generated forms. The toolbox contains 16 items for gathering data. Everything from star ratings to signature boxes!
MIT License
657 stars 545 forks source link

Dependency Issue wiith react 15 #7

Open arunlals opened 8 years ago

arunlals commented 8 years ago

While trying to integrate with my project which is running on react@15.3.1, I'm getting the following error.

app.js:13756 Uncaught TypeError: Cannot read property '__reactInternalInstance$44ks93n89515430gg5qry919k9' of null


function getClosestInstanceFromNode(node) { if (node[internalInstanceKey]) { return node[internalInstanceKey]; }

This gives the error.

npm ls react showing as

relay-starter-kit@0.1.0 C:\wamp64\www\spiraldesk\spiraldesk_client_theme
+-- UNMET PEER DEPENDENCY jquery@2.2.4
+-- UNMET PEER DEPENDENCY react@15.3.1
`-- react-forms-builder@0.0.1
  +-- UNMET PEER DEPENDENCY jquery@
  +-- UNMET PEER DEPENDENCY jsdom@*
  `-- react-anything-sortable@0.2.3
    `-- react@0.13.3

I think 2 react instances causing the issue.