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

Dev Screens not showing/working #222

Closed rudsberg closed 5 years ago

rudsberg commented 5 years ago

Even though opting in for the Ignite Development Screens they are not included. After adding them with "ignite add dev-screens" it fails with the following error:

error: bundling failed: Error: Unable to resolve module ../../ignite/DevScreens/DevscreensButton.js from C:\InnoTact\AndrossType\App\Containers\LaunchScreen.js: The module ../../ignite/DevScreens/DevscreensButton.js could not be found from C:\InnoTact\AndrossType\App\Containers\LaunchScreen.js. Indeed, none of these files exist:

My current versions are: System platform win32 arch x64 cpu 4 cores Intel(R) Core(TM) i7-6560U CPU @ 2.20GHz directory C:\InnoTact\AndrossTypeScipt

JavaScript node 10.5.0 C:\Program Files\nodejs\node.EXE npm 6.1.0 C:\Program Files\nodejs\npm.CMD yarn 1.3.2 C:\Users\Joel Rudsberg\AppData\Roaming\npm\yarn.CMD

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

Ignite ignite 2.1.2 C:\Users\Joel Rudsberg\AppData\Roaming\npm\ignite.CMD

Android java - C:\Program Files\Java\jdk1.8.0_172\bin\java.EXE android home - C:\Users\Joel Rudsberg\AppData\Local\Android\Sdk

jamonholmgren commented 5 years ago

@rudsberg Can you try with 2.4.0?

jqn commented 5 years ago

@jamonholmgren I just tried version 2.4.0 and indeed the dev screens are directory is missing.

jafri commented 5 years ago

still an issue

lvlrSajjad commented 5 years ago

@jafri @jqn did you tried installing the boilerplate on a drive other than C ? if you can plz try and tell me the result

jafri commented 5 years ago

On MacOS, the problem is LaunchScreen imports a dev screen button, removing that makes the app work.

lvlrSajjad commented 5 years ago

@jafri Thanks i will check that is there other issue as well ? other than this import

ystoneman commented 5 years ago

On MacOS, the problem is LaunchScreen imports a dev screen button, removing that makes the app work.

@jafri how do you remove that?

jafri commented 5 years ago

Edit the launchScreen file

ystoneman commented 5 years ago

I solved this "ignite add dev-screens" error by deleting the entire directory for this app, and starting over with the following command: ignite new AppName --boilerplate andross --max ... instead of ignite new AppName or ignite new AppName -b ir-next as I had tried before. (Got this solution from the readme on https://github.com/infinitered/ignite-andross)

jamonholmgren commented 5 years ago

@ystoneman Where are you seeing the ir-next thing? I want to erase that from our docs.

ystoneman commented 5 years ago

@jamonholmgren I saw it on Infinte Red's YouTube channel's video on "Building a React Native App in Under 15 Minutes."

jamonholmgren commented 5 years ago

I guess we need a new YouTube video!