Closed jerinho closed 5 years ago
@jerinho Unfortunately you cannot symlink a react native package. This is a problem with the metro bundler and you can follow the issue here: https://github.com/facebook/metro/issues/1
@jerinho Unfortunately you cannot symlink a react native package. This is a problem with the metro bundler and you can follow the issue here: facebook/metro#1
thank you. but then yarn
should not loads packages into node_modules directory. just like how the default "outdated" react-native-create-library
works. please kindly let me know if anybody get different result
i had follow the installation instruction properly
npm remove react-native-create-library
npm i -g git+https://github.com/frostney/react-native-create-library.git
react-native-create-library mylib
testlib
directory not exists. the name isreact-native-testlib
. so i docd ./react-native-testlib
instead. followed byyarn
yarn link
yarn link react-native-testlib
on project directoryreact-native link react-native-testlib
. expected automatic installation works perfectly as manual installation. but it's not. so i have to do it manuallyreact-native run-android
working as expected for android part. but metro bundler show compilation error