Invariant Violation: requiresNativeComponent: “RNDatetimePicker” is not found in the UIManager.
这一错误显示:
"react-native-modal-datetime-picker": "^17.0.0",
所用
"@react-native-community/datetimepicker": "7.2.0",
是否有解决办法?
修改案文,因为这不是工作
Invariant Violation: requiresNativeComponent: “RNDatetimePicker” is not found in the UIManager.
这一错误显示:
"react-native-modal-datetime-picker": "^17.0.0",
所用
"@react-native-community/datetimepicker": "7.2.0",
是否有解决办法?
修改案文,因为这不是工作
你们可以尝试解决这些事情......
node_modules
and then run npm install
or yarn
depending on which you are using.npm start
or yarn start
followed by -- --reset-cache
0.60.0
use autolinking for Native Modules. If you have an older version you may need to link them manually before running your app.> cd ios
> pod install
> cd ..
> npm start
理想的情况是,I d建议如果低于<条码>0.60.0<>/条码>,则更新国家数据。 如果你仅仅因为这是一个相当老的版本,>0.60.0<>/code>含有一个健康的更新/固定内容,使你的生活更加方便。
当时我与这一问题进行了战斗。 但我定下了以下步骤。 注
React Native version: 0.72.6 Expo version: 49.0.15 dateTimePicker version: 7.2.0
npx expo install @react-native-community/datetimepicker
现在,我进口这套材料,就像它所做的那样:
import DateTimePicker from "@react-native-community/datetimepicker";
对于我来说,它需要像现在这样使用,这并不是说什么。
<DateTimePicker mode="date" value={date} />
日期由违约国确定如下:
const [date, setDate] = useState(new Date());
我知道你正在使用一揽子模式,但这取决于社区选择者,希望在你的情况下这样做!
This is my first question, and english is not my first language, sorry if my question is hard to understand I was trying to make simple CRUD app with mysql database and react as the frontend, and i ...
I have two react apps, parent app and child app. and child app have an hash router. I have build the child app using npm run build, It creates build folder. That build folder moved into inside the ...
这是我的第一个问题,请与我一起回答。 I m从事一项SPA React项目,该项目跟踪农场及其相关床位,并可使用一些帮助。 我愿就......提供一些数据。
I want to print the selected value, and below is my option list: const vesselName = [ { value: 0 , label: ALBIDDA , }, { value: 1 , label: ALRUMEILA , }, { value: 2 ,...
I have this custom filter for date , filter button is working as expected but reset button is not working, can anyone help me,what s wrong here? Below is my code which contain handlesearch,handlereset ...
I am using react. I want to add a line break <br> between strings No results and Please try another search term. . I have tried No results.<br>Please try another search term. but ...
I am trying to make a POC with Rails5, action Cable, React and Rails and React DnD. The purpose is to make an app like trello but for an recruitment process. My front is in ReactJS. I have 3 ...