mick1996
mick1996

Reputation: 606

Module location issue

Does anyone have any idea as to what this error means in Xcode?

unable to resolve module `./outputs/App`

This is from a project that I have not previously worked on so I'm just trying to run it for the first time.

I found the line in index.js

import { AppRegistry } from 'react-native';
import App from './outputs/App';
import { name as appName } from './app.json';

Any help is welcome! As you can tell I'm new to React Native

Upvotes: 0

Views: 28

Answers (1)

redberry
redberry

Reputation: 766

Check where your App.js is located inside the project and import it with the correct path in index.js and your project should work fine

Upvotes: 1

Related Questions