FormidableLabs/react-ssr-prepass

Cannot read property 'current' of undefined.

Thuan2000 opened this issue · 6 comments

Here is the error:

TypeError: Cannot read property 'current' of undefined at Object.<anonymous> (/home/thuan/Desktop/thotot/main/node_modules/react-ssr-prepass/dist/react-ssr-prepass.development.js:842:45) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3) at Module.require (module.js:596:17) at require (internal/module.js:11:18) at Object.<anonymous> (/home/thuan/Desktop/thotot/main/node_modules/react-ssr-prepass/index.js:4:20) at Module._compile (module.js:652:30)

I'm having the same issue.

Same! has to do with this var which seems fishy var ref = React__default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;

Is there any response to this? I'm getting the exame issue above.

TypeError: Cannot read property 'current' of undefined at Object.

I am having the same issue, any update on this ?

thanks

mrsvt commented

React and React DOM must be at least 16.8.0 #5

Sorry for the late reply. As indicated in the last comment, react must at least be at 16.8 https://github.com/FormidableLabs/react-ssr-prepass/blob/master/package.json#L60-L61