Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Can we run detox on Ubuntu 16.04.4? #770

Closed
anhpha opened this issue Jun 5, 2018 · 9 comments
Closed

Can we run detox on Ubuntu 16.04.4? #770

anhpha opened this issue Jun 5, 2018 · 9 comments

Comments

@anhpha
Copy link

anhpha commented Jun 5, 2018

Description

I want to setup detox for my React Native project. However, when running detox init, will consume all of my computer memory. When using system monitor tool, I saw that there are many node processes running. I checked all detox commands and found the same problem.

Steps to Reproduce

  • Install detox
  • Run detox init
    Then my computer get hanged.

Detox, Node, Device, Xcode and macOS Versions

  • Detox: 7.3.3
  • React Native: 0.55.3
  • Node: 8.11.2
  • Device: Android
  • Ubuntu 16.04.4
@noomorph
Copy link
Collaborator

noomorph commented Jun 6, 2018

It looks to me that something is not fine either with your hardware configuration or with your specific OS or Node environment configuration.

It is not possible to reproduce this problem by using the given steps. Otherwise, it would have been an emergency and a blocker for Detox. Last time (11 days ago) I was checking Detox on Ubuntu 17.10 and it was absolutely fine.

Provide more info on your hardware specs. Video recording, screenshots or photos of what happens could be helpful as well.

Try out other running CPU- or network-intensive Node.js apps and see if you have the same issue.

This issue is something very weird and definitely cannot be resolved till you give a very detailed report of what is happening. And even then, chances are, that you ought to try to fix the issue on your side, as this looks something very specific to an environment.

@anhpha
Copy link
Author

anhpha commented Jun 6, 2018

Thank you for your answer. I can run detox in normal react app (web) but hanged in react native app. I will try to find out more detail and show here if I found.

@rotemmiz
Copy link
Member

rotemmiz commented Jun 6, 2018

React app? Web? That's the wrong project, detox does not do web, it only supports native/react-native apps on iOS and Android

@anhpha
Copy link
Author

anhpha commented Jun 6, 2018

I mean my computer can create e2e folder when run detox init in other folder but hanged when run in react native app folder.

@rotemmiz
Copy link
Member

rotemmiz commented Jun 6, 2018

Can you please provide more details? This description is still pretty vague

@anhpha
Copy link
Author

anhpha commented Jun 7, 2018

I tried 3.3.7 and it worked fine. The problem occurred with detox@3.4.0 on my environment. Thank you for all helps.

@noomorph
Copy link
Collaborator

noomorph commented Jun 7, 2018

3.3.7

What version, would you mind to check again? Detox is currently at 7.x, not 3.x. :)

@rotemmiz
Copy link
Member

rotemmiz commented Jun 7, 2018

Please treat this thread seriously, the lack of information, and woese, misleading and wrong information is disrespectful to all those who want and spend their time to try helping you.
When you have a full coherent description, open a new issue. If this is a question, please use stack overflow.

@anhpha
Copy link
Author

anhpha commented Jun 7, 2018

Sorry for typo mistake. It is 7.3.7.

@wix wix locked and limited conversation to collaborators Jul 23, 2018
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

3 participants