React Native missing modules after installing react-native-multi-selectbox

Viewed 291

I am trying to install the following npm package to use the component in my project: npm i react-native-multi-selectbox# (react-native-multi-selectbox https://openbase.com/js/react-native-multi-selectbox)

And it's not really a question but I just need help to set this up. Running the command and trying the code in the example means only errors appear. I did nothing different and still, it says that packages are missing

Hope someone has experience with installing such components

one of the errors

1 Answers

I think the easiest solution is just to npm install every module that it is missing in the error logs. In your case npm install react-native-svg

I think the library just assumed that react-native-svg is already installed.

There's already an issue on their Github about this but the issue doesn't have a description (probably the reason why it is closed)

Related