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

Error: Detox.framework not found #191

Closed
tlenclos opened this issue Jul 11, 2017 · 8 comments
Closed

Error: Detox.framework not found #191

tlenclos opened this issue Jul 11, 2017 · 8 comments

Comments

@tlenclos
Copy link

I just installed Detox with yarn v0.24.6 and node v8.1.3 and the framework is not extracted.

It works with node < 8.

@LeoNatan
Copy link
Contributor

@DanielZlotin Do you have any idea what could cause this?
CC @rotemmiz

@DanielZlotin
Copy link
Contributor

Maybe something installed globally with npm? If you're using nvm this will be easy to rule out/confirm

@DanielZlotin
Copy link
Contributor

Also, where do you get this error? Compile time in xcode? Running tests?

@rotemmiz
Copy link
Member

You can set verbose logging when installing either with yarn install --verbose or npm install --loglevel verbose
It will be great if you can paste the relevant part of your installation log here.

@tlenclos
Copy link
Author

I got this error after installing detox and running the tests with detox test but I can't reproduce it sadly. You can close this for now and I will post more info if it happens again.

@rumax
Copy link

rumax commented Jul 12, 2017

installed Detox with yarn

Maybe you can try npm rebuild after using yarn. It works for me. Otherwise I get

node_modules/.bin/detox: fork: Resource temporarily unavailable

But I use:

  • node v7.10.0
  • detox v5.0.12
  • detox-cli v1.0.1

@AshleyRodanHP
Copy link

AshleyRodanHP commented Mar 21, 2018

Its pretty clear that detox is not being compiled when installing yarn. Also npm install detox -g has not helped.

after running

npm rebuild detox

it fixes it for me

Initially I installed it using npm however im getting it running on a remote box which is installing detox using yarn. When doing this I get the following error

$ detox -h
<project>/node_modules/.bin/detox: fork: Resource temporarily unavailable

the package is there but not compiled

yarn list v1.3.2
├─ detox-cli@7.2.0
├─ detox-server@7.0.0
├─ detox@7.2.0
└─ eslint-plugin-detox@1.0.0

@AshleyRodanHP
Copy link

doing some research it seems like its a yarn issue.

Same sort of issue these guys have:
sass/node-sass#1804

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

No branches or pull requests

7 participants