esilver
esilver

Reputation: 28463

Unable to run react-native tutorial due to TransformError with .babelrc

I am unable to get react-native run-ios to work on the basic Hello World application that Facebook ships here.

The error that appears every single time is:

TransformError: ENOENT: no such file or directory, open <path>/.babelrc

enter image description here

When I open .babelrc, all it says is:

{
"presets": ["react-native"]
}

Googling this error shows the following pages:

My version is:

$ react-native --version react-native-cli: 2.0.1 react-native: 0.42.3

I am running OSX 10.12.2, XC 8.3

Can anyone explain the cause, and propose a resolution? Thanks!

Upvotes: 0

Views: 220

Answers (1)

esilver
esilver

Reputation: 28463

I had a packager running in another window from an old project that I needed to kill. Once I did that, it started working again.

Upvotes: 1

Related Questions