infinitered / ignite-andross

The original React Native boilerplate from Infinite Red - Redux, React Navigation, & more
https://infinite.red/ignite
MIT License
475 stars 151 forks source link

Unable to resolve module `...DevscreensButton.js` #237

Closed ghost closed 5 years ago

ghost commented 5 years ago

What's going on? I'm getting the error in the android emulator and npm that it is Unable to resolve module `../../ignite/DevScreens/DevscreensButton.js`


Steps to reproduce Create the project using Andross, try to run it?

I can see what the problem is. There isn't a DevscreensButton.js file, nor is there a /DevScreens/ directory. I don't know why that didn't get added to the project?


ignite doctor results:

System platform linux
arch x64
cpu 8 cores Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
directory /home/brian/code/omeglul

JavaScript node 8.10.0 /usr/bin/node
npm 6.4.1 /usr/local/bin/npm
yarn 1.12.3 /usr/bin/yarn

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

Ignite ignite 2.1.2 /usr/local/bin/ignite

Android java 10.0.2 /usr/bin/java
android home -

tarr11 commented 5 years ago

Happened to me as well

System
  platform           darwin
  arch               x64
  cpu                8 cores                                     Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz
  directory          /Users/douglastarr/dev/MvcodeMobileIgnite

JavaScript
  node               11.1.0       /usr/local/bin/node
  npm                6.4.1        /usr/local/bin/npm
  yarn               1.1.0        /usr/local/bin/yarn

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

Ignite
  ignite             2.1.6                           /usr/local/bin/ignite
  boilerplate        ignite-ir-boilerplate-andross

Android
  java               1.8.0_131    /usr/bin/java
  android home       -            undefined

iOS
  xcode              10.1
ystoneman commented 5 years ago

Same here

(master) app $ ignite doctor
System
  platform           darwin                                                                                 
  arch               x64                                                                                    
  cpu                8 cores                           Intel(R) Core(TM) i7-7920HQ CPU @ 3.10GHz  
  directory          /Users/user/app                                                        

JavaScript
  node               10.9.0       /usr/local/bin/node  
  npm                6.4.1        /usr/local/bin/npm   
  yarn               1.12.3       /usr/local/bin/yarn  

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

Ignite
  ignite             2.1.7            /usr/local/bin/ignite  
  boilerplate        ignite-andross                                    

Android
  java               11.0.1       /usr/bin/java  
  android home       -            undefined      

iOS
  xcode              10.1 
screen shot 2018-12-11 at 12 39 11

Update: I even tried:

After that last step, the old error went away, it loaded all the way to 98% this time, and then I got a new error:

screen shot 2018-12-11 at 13 18 30
jamonholmgren commented 5 years ago

Thanks for reporting, everyone. I believe this is a duplicate of #222. Go "watch" that issue, we do have some people working on it.

morgandonze commented 5 years ago

@ystoneman I actually have the solution to the latter error you got re; _reactNavigation.createStackNavigator. Will post shortly.

morgandonze commented 5 years ago

@ystoneman solution to that was actually merged here, the createAppNavigator part.

morgandonze commented 5 years ago

Actually I see now… I need to do the same in PluginExamplesScreen.js. Doing now!