-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Closed
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
Description
The modules resolution does not support relative paths out of the project root
Reproduction Steps and Sample Code
In any of index.ios.js
or index.android.js
import something from '../file-in-the-parent-directory'
Solution
I have spent hours using symlinks, npm link
, changing the project root via cli.config.js
projectRoots
and last but not least babel-plugin-module-resolver
but none of these solutions seems to work properly fine for such a trivial behavior
Additional Information
- React Native version: 0.43.2
- Platform: iOS
- Development Operating System: MacOS
- Dev tools: Terminal + Sublime Text
Metadata
Metadata
Assignees
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.