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

Hot Reload -- factory is not a function (in 'factory(global, _require)') #7648

Closed
patrickml opened this issue May 20, 2016 · 4 comments
Closed
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@patrickml
Copy link

Whenever I have hot reload enabled and I update my code I get the following error

factory is not a function here is a screenshot

screen shot 2016-05-19 at 10 40 43 pm

I have tried creating a new react native projects and have found no solution to this issue. At first i thought it had to do with the use of stateless components, but I do not believe this is the case as I continued to periodically (1/3 times) get the issue without them.

I am using React Native ^0.26.0 on a Mac running OSX 10.11.3 i have not tested this issue on Andriod only on iOS

If I had any additional information I would post it, however I do not, as this happens with a new project as well.

If anyone would like me to provide any information such as package.json etc. please let me know.

@grabbou
Copy link
Contributor

grabbou commented May 20, 2016

We've fixed that @martinbigio #7568

@mkonicek @bestander shall we cherry-pick that to 0.26? HMR seems super important. Note - with super dumb example (RNTestApp) it works well, so that's why it passed the manual e2e tests.

FYI this is already a part of 0.27 release being cut now.

@patrickml
Copy link
Author

@grabbou so is there nothing I can do other than to wait for version 0.27?

@grabbou
Copy link
Contributor

grabbou commented May 20, 2016

You can npm install 0.26.1 tomorrow with the fix included :) Just need to get home and publish it, but it's a bit late today.

@patrickml
Copy link
Author

<3 thanks
On Fri, May 20, 2016 at 6:55 PM Mike Grabowski [email protected]
wrote:

You can npm install 0.26.1 tomorrow with the fix included :) Just need to
get home, but it's a bit late today.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#7648 (comment)

@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants