Open Saif-M-Khan opened 2 years ago
Today I encountered export 'ViewPropTypes' was not found in 'react-native-web/dist/index'
at ./node_modules/react-native-multiple-select/lib/react-native-multi-select.js:68:20.
And using ViewPropTypes exported from 'deprecated-react-native-prop-types' module worked for me.
I got the same issue
I did uninstalled react-native-multiple-select package & installed it again but still cant resolve this issue,
please give me solution for this issue, I need it urgently, my release is getting hold due to this issue
I tried all the solutions I am able to try but none worked
Thanks in advance
@shraddhahinge can you provide me with the expo doctor
information. So I can try to reproduce the same issue.
Are you using the latest publish version? I am just wanna doble check that. Review that in your yarn.lock
file.
@AugustoAleGon
This is expo doctor info :
Expected package @expo/config-plugins@^5.0.0 Found invalid: @expo/config-plugins@3.1.0 @expo/config-plugins@4.1.5 @expo/config-plugins@1.0.33 (for more info, run: npm why @expo/config-plugins) Expected to not find any copies of @unimodules/core Found invalid: @unimodules/core@7.2.0 (for more info, run: npm why @unimodules/core) Some dependencies are incompatible with the installed expo package version:
This is package info in yarn.lock file :
expo-multiple-select@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/expo-multiple-select/-/expo-multiple-select-1.0.2.tgz" integrity sha512-7/H88GEYn5JOl5A5E63Re5hijNndK4RK7RzvdHSmlsIuOUt7AmPlL5KcIqpqAgQVZrEC8d+JYFKq4JeF7w5o0g== dependencies: prop-types "^15.7.2"
@shraddhahinge this is another library. It is the library forked of this library. This is the one https://github.com/rafaelnsantos/react-native-multiple-select
I have the same error. I just copy/paste example from README.
Library versions "expo": "~47.0.13", "react": "18.1.0", "react-native": "0.70.5", "react-native-multiple-select": "^0.5.12",
› Reloading apps
Android Bundling failed 1524ms
Unable to resolve "deprecated-react-native-prop-types" from "node_modules/react-native-multiple-select/lib/react-native-multi-select.js"
following
Same error facing. anyone get solution ?
Issue summary
As title says, the react-native-multi-select.js file inside lib is importing ViewPropTypes from react-native. Not breaking, but might be in the future.
Library versions
react-native: 0.68.2 react-native-multiple-select: 0.5.9
Steps to Reproduce
No real steps to reproduce. Just run an Android (I have been testing on Android) and note the warning
I've attached a screenshot of the error as well.