-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
postinstall script fails #889
Comments
I didn't understand from the description, do you mix using yarn and npm in the same project? |
Sorry, using |
Okay, so what does that mean?
|
Did you mean that |
|
@rborn , okay, I'll try to look into it tomorrow. |
Can you please attach the full log? |
@rborn, I could not reproduce on:
That leaves me with two possibilities:
We need to narrow down why it happens. |
@noomorph Check out https://github.com/wix/AppleSimulatorUtils/blob/master/buildForBrew.sh |
@LeoNatan , sure. |
tried this |
I was not able to reproduce this, sorry. Maybe I need to install I upgraded to Xcode 9.4 and uninstalled |
Node wouldn't have anything to do with a build failing. It is squarely somewhere in the Xcode build process. |
The change happened between version |
The build script changed but I'm not sure why the change should introduce such an issue, especially since we cannot reproduce locally. |
for what it's worth, this is happening on my machine as well |
@dodgecm could you please post the log file? Maybe has more info than mine? |
NVM, with Node 8.9.0. I've attached my command line output, but it doesn't seem to be very useful. how are you generating the
|
Never mind, figured it out. Looks like the same issue as you.
I followed the paths inside the build directory, and it looks like there was a |
I think I found the issue. Inside my Xcode workspace settings, I had my build location set to "Custom", which was putting the build artifacts inside the project folder's Build directory. When I changed it back to the default setting, In order to reproduce it, delete your DerivedData folder ( |
Great, thanks! Will look into that next week. |
Hopefully, my fix will solve this issue. If this issue gets locked before a new version is out, just open a new issue. |
@LeoNatan Trying to test this by installing from git master but npm complains of |
@rborn , try out https://github.com/wix/detox/blob/master/docs/Guide.Contributing.md |
@noomorph I'll give it a shot, thnx |
I just pushed a further commit. |
Description
Trying to run
npm install detox --save-dev
will fail with the following error in the detox_ios.logyarn add [email protected] finishes the detox install without any issue
Steps to Reproduce
Install in a brand new RN project
Detox, Node, Device, Xcode and macOS Versions
Device and verbose Detox logs
Provided in description
Thank you 🤗
The text was updated successfully, but these errors were encountered: