[Packager] doesn't resolve modules that are symlinks
Problem
As described in the browserify handbook you can use symlinks in the `node_modules` folder to reference modules. This is mainly useful for preventing `../../../../` requires. With a symlink setup from the project root setup like: `ln -s src/app node_modules/app` in any file in the project you can: [code block] However, the packager can't resolve them: `Requiring unkonwn module "app"`. Edit: Check out this repo to easily reproduce the error above: https://github.com/JaapRood/react-native-packager-symlink-bug
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: [Packager] doesn't resolve modules that are symlinks
Just ran into this trying to develop a npm library locally using `npm link`
Trust Score
6 verifications
- 1
Just ran into this trying to develop a npm library locally using `npm link`
Just ran into this trying to develop a npm library locally using `npm link`
Validation
Resolved in facebook/react-native GitHub issue #637. Community reactions: 25 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep