-
Notifications
You must be signed in to change notification settings - Fork 261
Running example fails to build DependencyGraph: @providesModule naming collision #95
Comments
I tried this out myself and can't reproduce the same behavior you're seeing though I did run into some problems. First though, what version of yarn are you running with? When I installed yarn on mac the first time with
which seems to indicate that yarn (or this specific version of yarn) doesn't like the relative path spec in the example package.json:
It looks like yarnpkg/yarn#1498 fixed several issues logged with similar behavior to what I experienced. The last comment on that PR was that it was fixed in 0.18.0 and when I went to the yarn releases page, I saw that 0.18.2 was the official latest release, so then I went and followed the directions here to install that specific version:
Once I did that I was able to run the example app successfully with If you are using a different yarn version than 0.18.2, could you try installing this version and using it and seeing if you have the same problem? |
I'll try this out this weekend. |
I was running yarn 0.16.1 when I reported this bug. I ran the following to update yarn to 0.21.3:
Running the original steps to reproduce again yields a successful app that runs. Trying your specific version of yarn 0.18.2 also works. Thanks for helping figure this out @marzolfb! |
Great! Thanks for verifying! |
The react native packager yields an error when attempting to run the example application on iOS. I'm using the following versions of react-native:
Steps to reproduce
Error
The text was updated successfully, but these errors were encountered: