Kevin Wu
Kevin Wu

Reputation: 3

React-Native init multiple projects possible?

I am able to

My problem starts when I try to create a new React-Native project.

I run react-native init AnotherProject and it created the new react-native project under AnotherProject folder.

Under cd AnotherProject when I try to start react-native run-android, I get the following error:

Command failed at checkExecSynchError (child_process.js:441:13)

However, it works fine when I run the same command under the AwesomeProject folder.

Is there something I am missing here? Or only 1 react-native project can be run on 1 Windows PC?

Any ideas why this happens is most appreciated.

Upvotes: 0

Views: 364

Answers (1)

Isaac Madwed
Isaac Madwed

Reputation: 1006

It sounds like the issue might be with your packager. Check to make sure you are running react-native start in the directory of AnotherProject and not in the directory of AwesomeProject.

Upvotes: 1

Related Questions