Fresh react-native 0.12 project. Add server and running off master a58a670fe9b68b88da3b980da55390b85bba7ed9 `Uncaught Error: Uncaught ReferenceError: document is not definedmessageHandlers.executeApplicationScript @ debuggerWorker.js:18onmessage @ debuggerWorker.js:42`
Activity
nc commentedon Oct 9, 2015
Traced to
var scriptElements = document.getElementsByTagName("script");auser commentedon Oct 10, 2015
Ditto
elliottsj commentedon Oct 11, 2015
I've traced the error to webpack-dev-server/client/index.js#L4, which is included as
'webpack-dev-server/client?http://localhost:8082'in the webpack config.I think I know how to get HMR working with the new web worker in RN 0.12 (at least in a hacky way). More info soon 😄
elliottsj commentedon Oct 11, 2015
See #103 for the full explanation & temporary fix