腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
2
回答
错误
无法
读取
未定义
的
属性
(
读取
“配置”)。TypeError:
无法
读取
未定义
的
属性
(
读取
“配置”)
、
、
、
、
我在我
的
react
本机项目中安装了@
react
-native-community/cli-platform-android,现在我得到
的
是"error不能
读取
未定义
的
属性
(
读取
“配置”)。TypeError:
无法
读取
运行npm run android
的
未定义
属性
(
读取
“配置”)。
浏览 8
提问于2022-06-02
得票数 2
1
回答
未定义
的
TypeError:
无法
读取
未定义
- PixiOverlay
的
属性
'addLayer‘
、
、
这是我
的
密码:import { PixiOverlay } from '
react
-leaflet-pixi-overlay>}export default PixiOverlayClass;但我还是会
浏览 3
提问于2020-06-06
得票数 0
回答已采纳
1
回答
为什么我在获得数组作为支柱时,得到了map方法
的
未定义
错误?
、
、
这就是我作为道具
传递
的
东西我来拿道具{tags.map((tag) => ( <Tag>{tag}</Tag> ))}</
浏览 1
提问于2021-11-17
得票数 0
1
回答
React
传递
属性
无法
读取
未定义
的
属性
、
我正在尝试将props candidate_information从父组件
传递
给子组件。到目前为止,我可以通过它,尽管我遇到了一个问题“
无法
读取
属性
' id‘
的
未定义
的
’。
属性
id确实存在并且定义了candidate_information。虽然当我在我
的
子渲染中使用console.log(this.props.candidate_information)时,它首先记录
未定义
的
数据,然后使
浏览 5
提问于2020-04-22
得票数 1
回答已采纳
2
回答
React
无法
读取
未定义
的
属性
使用propTypes验证道具会出现以下错误: TypeError:
无法
读取
未定义
的
属性
“func”。所讨论
的
代码位于代码段
的
底部:import ProjectItem from './Proje
浏览 2
提问于2017-10-14
得票数 13
1
回答
使用
react
本机测试库测试ui-kitten按钮
、
、
、
、
我正在尝试使用
react
本机测试库来测试Button导航到右边
的
屏幕。我正在使用UI Kitten库作为我
的
组件,并面临问题,因为它。我现在只是尝试在我
的
测试中呈现Button,并得到错误: TypeError:
无法
读取
未定义
的
属性
(
读取
'name')。我假设这是这个按钮使用
的
图标上存在
的
属性
,我不知道如何模拟/
传递
浏览 3
提问于2022-10-25
得票数 0
回答已采纳
2
回答
TypeError:
无法
读取
未定义
的
属性
“string”;安装硼库
、
我安装了库,但有错误:push../node_modules/boron/modalFactory.js.module.exports :
无法
读取
未定义
的
C:/Users/m/Desktop/chrome-extension/node_modules/boron/modalF
浏览 3
提问于2019-10-21
得票数 0
1
回答
映射数据未被
react
读取
-滚动
、
、
在这个图片上,你可以看到我做了一些要
传递
的
数据。我通过使用.map函数
传递
它,并在to={}
属性
上填充它 “
未定义
的
TypeError:
无法
读取
未定义
的
属性
(
读取
‘路径名’)” 您可以检查此片段以供参考
浏览 9
提问于2022-01-29
得票数 -2
6
回答
使用
React
时
的
TypeError :
无法
读取
未定义
的
属性
“firstChild”
、
、
有时,当使用
React
库(如 )时,我会得到以下错误: /~/
react
-router/~/
react
/lib/ReactMount.js
浏览 10
提问于2014-11-26
得票数 28
回答已采纳
1
回答
使用“
react
test-renderer”-
无法
读取
未定义
的
属性
“hasOwnProperty”时出错
、
、
、
我试图在我
的
react
应用程序中实现Jest,但是当我导入
react
-test-renderer时,我得到了错误消息: TypeError:
无法
读取
未定义
的
属性
'hasOwnProperty‘。我
的
App.test.jsx文件中唯一
的
一行是: import TestRenderer from '
react
-test-renderer'; // ES6
浏览 3
提问于2019-12-20
得票数 3
1
回答
按承诺获取构造函数变量
、
、
、
我
无法
使用javascript和
react
在获取调用中获得构造函数变量。我希望this.state.numXLabels
的
值在.then(函数(Json)回调中),但是我得到了TypeError:
无法
读取
未定义
(…)
的
属性
‘状态’。怎样才是正确
的
方法呢?以下是相关代码:import <em
浏览 4
提问于2016-04-23
得票数 2
回答已采纳
1
回答
如何从导入
的
子组件(导航组件)中使用app
的
导航?
无法
读取
属性
导航是
未定义
的
。App.jsimport { ActivityIndicator, StyleSheet, Text, View } from '
react
-native/App/Components/Navigation'; import OneSignal from '
react
-na
浏览 1
提问于2019-09-16
得票数 0
1
回答
我如何将一个引用
传递
给使用onclickoutside(‘’)
的
HOC?
、
我使用onClickOutside('
react
-onclickoutside')作为我
的
自定义,我不能将这个临时引用
传递
给ref,我有如下所示,错误出现: Uncaught TypeError:
无法
读取
onClickOutside.render上
未定义
的
属性
“isReactComponent”(
react
onclickoutside.es.js.es.js
浏览 1
提问于2019-12-28
得票数 0
1
回答
打字本反应不正确
、
我有以下打字本:import ReactDOM from '
react
-dom' return (_1 = require("
react
");const App = () => { return (
浏览 8
提问于2017-06-14
得票数 4
回答已采纳
1
回答
作为参数
传递
的
useRef
的
模拟返回值
、
、
TypeError: useRef.current.removeChild不是一个函数 这就是实现。child.value) { }}; ],
浏览 7
提问于2021-11-10
得票数 1
2
回答
在渲染函数中
传递
道具
、
、
、
知道为什么我可以注销“条件”变量,但不能将它作为
属性
传递
到render方法中吗?它总是
未定义
--“
无法
读取
未定义
的
属性
‘条件’”。var ReactDOM = require('
react
-dom'); import Square from '..console.log(co
浏览 2
提问于2015-11-08
得票数 2
回答已采纳
1
回答
transpiled.js:35999 Uncaught :
无法
读取
未定义
的
属性
“prepareStyles”
无法
使用
react
渲染卡片,则返回错误。
浏览 4
提问于2017-09-07
得票数 0
1
回答
未定义
属性
'__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED‘:
无法
读取
未定义
属性
TypeError
、
我得到了 <scriptsrc="res/build/
react
-min.js"></script> <script src="res/build/
浏览 1
提问于2015-12-14
得票数 11
回答已采纳
1
回答
反应0.13.1渲染问题
、
我有一个非常简单
的
设置,
无法
使用Reactive0.13.1运行: return( )})
React
.createElement(
React
.createFactory(TheApp)), doc
浏览 1
提问于2015-04-12
得票数 2
回答已采纳
2
回答
React
TypeError:
无法
读取
未定义
的
属性
“懒惰”
、
我遵循来为现有的
React
启用TypeScript。启动应用程序时,会出现以下错误:TypeError: Cannot read property 'lazy' of undefined import
React
, { Sus
浏览 5
提问于2020-04-01
得票数 0
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
云直播
腾讯会议
实时音视频
活动推荐
运营活动
广告
关闭
领券