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

Detox is broken due to detox-server version 6.0.0 not released #437

Closed
LeoNatan opened this issue Nov 28, 2017 · 7 comments
Closed

Detox is broken due to detox-server version 6.0.0 not released #437

LeoNatan opened this issue Nov 28, 2017 · 7 comments

Comments

@LeoNatan
Copy link
Contributor

As mentioned here.

@plasticine
Copy link
Contributor

6.0.1 seems to be released — think this can be safely closed.

@ca057
Copy link

ca057 commented Nov 28, 2017

Thanks for the fast fixes and releases!

Apparently for me the installation still seems to be broken, running:

yarn cache clean
yarn add detox@^6.0.1 --verbose

produces the following error output (where <CWD> is my current working directory):

# ...
verbose 303.613 Error: <CWD>/node_modules/detox: Command failed.
Exit code: 1
Command: scripts/postinstall.sh
Arguments:
Directory: <CWD>/node_modules/detox
Output:
Extracting Detox sources...
./EarlGrey/build/EarlGrey.build/Debug-iphoneos/EarlGrey.build/Objects-normal/armv7/GREYKeyboard.o: (Empty error message)
tar: Error exit delayed from previous errors.
    at ChildProcess.proc.on (/usr/local/Cellar/yarn/1.3.2/libexec/lib/cli.js:29991:15)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:925:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
error <CWD>/node_modules/detox: Command failed.
Exit code: 1
Command: scripts/postinstall.sh
Arguments:
Directory: <CWD>/node_modules/detox
Output:



Please let me know in case you need any further information, I'm happy to help out.

@akuschqa
Copy link

I have the same problem with installing 6.0.1 via npm

> detox@6.0.1 postinstall /Users/rean/Projects/SpaceNation/spacenation_reactnative/node_modules/detox
> scripts/postinstall.sh

Extracting Detox sources...
./EarlGrey/build/EarlGrey.build/Debug-iphoneos/EarlGrey.build/Objects-normal/armv7/GREYKeyboard.o: (Empty error message)
tar: Error exit delayed from previous errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! detox@6.0.1 postinstall: `scripts/postinstall.sh`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the detox@6.0.1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

@philss
Copy link

philss commented Nov 28, 2017

I got the same error here while trying to install via npm install --verbose --save-dev detox:

npm verb stack Error: detox@6.0.1 postinstall: `scripts/postinstall.sh`
npm verb stack Exit status 1
npm verb stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:280:16)
npm verb stack     at emitTwo (events.js:126:13)
npm verb stack     at EventEmitter.emit (events.js:214:7)
npm verb stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
npm verb stack     at emitTwo (events.js:126:13)
npm verb stack     at ChildProcess.emit (events.js:214:7)
npm verb stack     at maybeClose (internal/child_process.js:925:16)
npm verb stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
npm verb pkgid detox@6.0.1

@rotemmiz
Copy link
Member

6.0.2 is out

@philss
Copy link

philss commented Nov 28, 2017

Thanks, @rotemmiz!

@ca057
Copy link

ca057 commented Dec 1, 2017

Working again, thanks! 👍

@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