Harry Solovay
1 min readApr 10, 2018

--

This method isn’t working for me afterall. I keep getting the error “Unable to resolve module ./.. from /Users/harrysolovay/Desktop/x-bar/example/App.js etc… the module isn’t being found–says the files don’t exist. I followed your method to a T–the only difference is in my .babelrc (I’m using a newer version of Expo)… incase this is somehow causing a problem:

{
"presets": ["babel-preset-expo"],
"env": { "development": { "plugins": [ "transform-react-jsx-source", ["module-resolver", { "alias" : { "react-native-x-bar" : ".." } }] ] } }}

And if not the .babelrc, what could I be doing wrong? Is this method now outdated?

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Harry Solovay
Harry Solovay

No responses yet

Write a response