question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No iOS or Android folder after creating a app with create-react-native-app

See original GitHub issue

Please make our job easier by filling this template out to completion. If you’re requesting a feature instead of reporting a bug, please feel free to skip the Environment and Reproducible Demo sections.

Description

Using create-react-native-app to create application, but I can’t find iOS or Android related folders in created application folder.

Expected Behavior

In my memory, they should be created since this is a react native app not a web app.

What action did you perform, and what did you expect to happen?

sudo npm install -g create-react-native-app
create-react-native-app my-app

Observed Behavior

In my-app folder, I only can see the below folders:

App.js App.test.js README.md app.json node_modules package.json

What actually happened when you performed the above actions?

If there’s an error message, please paste the full terminal output and error message in this code block:

Error text goes here!

Environment

Please run these commands in the project folder and fill in their results:

  • npm ls react-native-scripts: react-native-scripts@0.0.50
  • npm ls react-native: react-native@0.45.1
  • npm ls expo: expo@18.0.9
  • node -v: v6.9.2
  • npm -v: 4.6.1
  • yarn --version: Not installed
  • watchman version: “version”: “4.7.0”

Also specify:

  1. Operating system: MacOS 10.12
  2. Phone/emulator/simulator & version: IPhone 6 simulator

Reproducible Demo

Is it normal? I can’t make sure since I remember the iOS and android folder will be generated together. If I’m wrong, please correct! Thanks a lot!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:11
  • Comments:19 (1 by maintainers)

github_iconTop GitHub Comments

31reactions
TonyFranciscommented, Oct 23, 2017

I did not understand. Can you give me step to create ios/ android folder

15reactions
brentvatnecommented, Aug 9, 2017

@bdibenedetto - there is no problem. this is intentional. read the readme

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I regenerate ios folder in React Native project?
First copy the directory which your to-be-name-changed application exists. · Change the name at index. · Change the name and version accordingly ...
Read more >
How to create React Native App for Android, iOS and Web ...
How to create React Native App for Android, iOS and Web without Expo ... below command using command prompt in the folder AwesomeProject...
Read more >
React Native Notes 7 : How to regenerate ios and android ...
In terminal, run the command : react-native eject. Generated iOS and Android Folders. app.json.
Read more >
How to change bundle identifier of iOS app and package ...
In this tutorial we want to go through step by step how to change both iOS bundle identifier and android package name. I...
Read more >
What I dislike about React Native: Regenerating The iOS and ...
But I also dislike one thing: Regeneration The iOS and Android folder just is a pain in the *ss…. Cross-Platform development. Developing a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found