I have updated npm to 5.4.0 and detox start fail on postinstall step.
Something has changed in [email protected]. I've created an issue about it on npm#18379
npm i [email protected] -g
mkdir test-detox && cd test-detox
npm init -y
npm i detox

Any update on this issue? I can't run my detox tests because of it :|
I have this error too. Please help us solve it.
@dluksza @zhgqthomas As I can see @iarna fixed it in https://github.com/npm/npm/commit/767ff6eee7fa3a0f42ad677dedc0ec1f0dc15e7c. So, just update npm to 5.4.1
@isnifer bumping npm to 5.4.1 resolved this issue, thanks!
Most helpful comment
@dluksza @zhgqthomas As I can see @iarna fixed it in https://github.com/npm/npm/commit/767ff6eee7fa3a0f42ad677dedc0ec1f0dc15e7c. So, just update
npmto5.4.1