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

No bundle URL present #881

Closed
jpomykala opened this issue Mar 7, 2017 · 15 comments
Closed

No bundle URL present #881

jpomykala opened this issue Mar 7, 2017 · 15 comments
Labels

Comments

@jpomykala
Copy link

jpomykala commented Mar 7, 2017

What's going on?

screen shot 2017-03-07 at 10 16 26


Steps to reproduce

npm install -g ignite-cli
ignite new igniteTest

πŸ”₯ igniting app igniteTest
βœ” using the Infinite Red boilerplate
βœ” added React Native 0.42.0
? Would you like Ignite Development Screens? Yes
? What vector icon library will you use? react-native-vector-icons
? What internationalization library will you use? react-native-i18n
? What animation library will you use? react-native-animatable
βœ” added ignite-ir-boilerplate-2016
βœ” added ignite-dev-screens
βœ” added ignite-vector-icons
βœ” added ignite-i18n
βœ” added ignite-animatable
βœ” configured git

cd igniteTest
react-native run-ios

ignite doctor results:

System
  platform           darwin                                                                                                   
  arch               x64                                                                                                      
  cpu                8 cores                                             Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz  
  directory          /Users/evelan/Programowanie/project/igniteTest                                                       

JavaScript
  node               7.6.0        /usr/local/bin/node  
  npm                4.1.2        /usr/local/bin/npm   
  yarn               0.20.3       /usr/local/bin/yarn  

React Native
  react-native-cli   2.0.1       
  app rn version     0.42.0      

Ignite
  ignite             2.0.0-beta.3   /usr/local/bin/ignite  

Android
  java               1.8.0_112    /usr/bin/java               
  android home       -            /usr/local/opt/android-sdk  

iOS
  xcode              8.2.1       

@skellock
Copy link
Contributor

skellock commented Mar 7, 2017

Are you running your packager? Are there errors when you run that?

@stormpat
Copy link

I just tried ignite 2.0 out, and i have the same issue.

@ghost
Copy link

ghost commented Apr 1, 2017

ditto. exact same issue when trying Ignite 2.0 - have created other react native projects without a problem but get this when using Ignite

@ghost
Copy link

ghost commented Apr 2, 2017

I can get project to work by running 'react-native run-ios' a 2nd time while the error is up... I originally thought my issue was caused by using multiple iTerm windows but it persists even when sticking to a single one.

@describeme
Copy link

bump

1 similar comment
@VirenMohindra
Copy link

bump

@michaellujan
Copy link

Adding more context, here is output from packager:

Failed to build DependencyGraph: @providesModule naming collision:
Duplicate module name: react-native-vector-icons
Paths: .../Documents/github/test/node_modules/react-native/local-cli/core/fixtures/files/package.json collides with .../Documents/github/test/node_modules/react-native-router-flux/node_modules/react-native/local-cli/core/fixtures/files/package.json

This error is caused by a @providesModule declaration with the same name across two different files.
Error: @providesModule naming collision:
Duplicate module name: react-native-vector-icons
Paths: .../Documents/github/test/node_modules/react-native/local-cli/core/fixtures/files/package.json collides with .../Documents/github/test/node_modules/react-native-router-flux/node_modules/react-native/local-cli/core/fixtures/files/package.json

This error is caused by a @providesModule declaration with the same name across two different files.
at HasteMap._updateHasteMap (.../Documents/github/test/node_modules/react-native/packager/src/node-haste/DependencyGraph/HasteMap.js:158:13)
at p.getName.then.name (.../Documents/github/test/node_modules/react-native/packager/src/node-haste/DependencyGraph/HasteMap.js:133:31)
~
Process terminated. Press to close the window

@skellock
Copy link
Contributor

The latest version of react-native-router-flux has included a version of react-native in their dependencies. I recommend locking to 3.38.0 of react-native-router-flux until they get it sorted.

We've pinned it but need to release a new version on npm which @jamonholmgren is hooking us up with tonight.

@skellock
Copy link
Contributor

Another option is to install ignite new MyApp -b ir-next which uses our more bleeding edge version of the boilerplate. This uses react-navigation instead of react-native-router-flux which we're transitioning out of.

Apparently a lot sooner than we'd expected after the day we had. ;P

@jamonholmgren
Copy link
Member

New version of ignite-ir-boilerplate-2016 is now available on NPM. You don't have to do anything to upgrade; simply run ignite new TestApp. @evelan @michaellujan @VirenMohindra @describeme @stormpat @sandelld

@micahosborne
Copy link

I just ran this like literally before you posted and i'm still having the same issue

@VirenMohindra
Copy link

Works for me @jamonholmgren, but I also ran npm install -g ignite-cli for safety.

@jamonholmgren
Copy link
Member

@aaayushsingh Do you have a way to reproduce the issue? That would really help!

@kevinvangelder
Copy link
Member

If I remember correctly, React Native 0.42 and previous versions had issues where running react-native run-ios didn't consistently launch the React Native Bundler, so most users manually started the bundler to resolve this type of issue. Have you tried this with newer versions of RN?

@kevinvangelder
Copy link
Member

Sorry you had a bad experience. Since you originally opened this issue back in early 2017 it's likely you were using one of the versions of RN that had this issue.

Not to argue with you, but we have hundreds of users that are generating Ignite projects on a regular basis and as far as I know most of them aren't running into the issue with i18n, there's probably some edge case that was causing you to see different results from most users.

I agree, we want to fix these issues wherever possible, but I think that Ignite offers roughly two weeks of value (particularly to inexperienced React Native developers) in the form of researching and deciding which packages to use as well as preconfiguring them, so even spending a few hours getting things working would be worthwhile. But, obviously, it's been a lot longer than that in your case, and I'm sorry we couldn't get things working for you. Hopefully someday you'll get an opportunity to give us another shot, but either way, I wish you the best of luck with your development endeavors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants