import symlink component is not working (expo)
See original GitHub issueDo you want to request a feature or report a bug? BUG
What is the current behavior? i make a component symlink to my project directory. when i try to import that symlink i got error unable to resolve
If the current behavior is a bug, please provide the steps to reproduce and a minimal repository on GitHub that we can yarn install
and yarn test
.
- make a seperate component outside the project
- make this component symlink in project directory
- import this symlink component
- you will get an error
What is the expected behavior? when i import symlink component it should resolve it
Please provide your exact Metro configuration and mention your Metro, node, yarn/npm version and operating system. i did not make any configuration. i am using expo
import TestComponent from 'path of component inside project which is actual symlink'
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:9
Top Results From Across the Web
symlink component is not resolving · Issue #8867 · expo/expo
Bug Report Summary of Issue (just a few sentences) I am making a new ecosystem where I need to run the symlink component...
Read more >Symlinking metro.config breaks from Expo SDK 44 to 46. How ...
I am curious, is there a difference in linking between the different SDKs now? expo · symlink · Share.
Read more >Working with monorepos - Expo Documentation
Monorepos are not for everyone. It requires in-depth knowledge of the used tooling, adds more complexity, and often requires specific tooling configuration.
Read more >Symlinking React libraries for local development
Using and locking dependencies can lead to problems when you use the library in many different apps, as they may be running on...
Read more >a problem occurred configuring project ':expo-modules-core'.
Just as we discussed in the comment section, I was able to resolve the issue by removing the react-native-reanimated package, as I was...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@nomi9995 i am using
mtsl startwithoutadd
command. it is working as sameln -s <src> <dest>
by the way thanks
@TimothyJAveni I have made package for tangible symlink https://www.npmjs.com/package/mtsl.
you can use this package whenever metro maintainers do not give a good solution