简体   繁体   English

Chaplin.js-未捕获的TypeError:无法读取未定义的属性“未定义”

[英]Chaplin.js - Uncaught TypeError: Cannot read property 'undefined' of undefined

Sometimes I get an error like this errors . 有时我会收到像这样的错误 Why do they occur? 为什么会发生?

This would happen if you're trying to access a property of an undefined value. 如果您尝试访问未定义值的属性,则会发生这种情况。 For example: 例如:

var test; // test is now undefined, typeof(test) would return "undefined"
test.myPropertyName // => throws 'Uncaught TypeError: Cannot read property 'undefined' of undefined'

So, sounds like you're trying to perform an operation using an uninitalized variable. 因此,听起来您正在尝试使用未初始化的变量执行操作。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 未捕获的TypeError:无法读取未定义的属性“未定义” - Uncaught TypeError: Cannot read property 'undefined' of undefined “未捕获的TypeError:无法读取Websocket Angular JS中未定义的属性'defer'” - “Uncaught TypeError: Cannot read property 'defer' of undefined at Websocket Angular JS” Uncaught TypeError:无法读取D3.js中未定义的属性“曲线” - Uncaught TypeError: Cannot read property 'curve' of undefined in D3.js 未捕获的TypeError:无法读取vega.js中未定义的属性“ marktype” - Uncaught TypeError: Cannot read property 'marktype' of undefined in vega.js 未捕获的TypeError:无法读取未定义的属性“位置”(D3.JS) - Uncaught TypeError: Cannot read property 'position' of undefined (D3.JS) 未捕获的类型错误:无法读取未定义的属性“offsetWidth” - chart.js - Uncaught TypeError: Cannot read property 'offsetWidth' of undefined - chart.js fullcalendar.js:未捕获TypeError:无法读取未定义的属性'ownerDocument' - fullcalendar.js: Uncaught TypeError: Cannot read property 'ownerDocument' of undefined Uncaught TypeError:无法读取backend.js中未定义的属性“ bind” - Uncaught TypeError: Cannot read property 'bind' of undefined in backend.js 未捕获的类型错误:无法读取未定义的属性“tween” - Masterslider.js - Uncaught TypeError: Cannot read property 'tween' of undefined - Masterslider.js Uncaught TypeError:无法读取d3.js中未定义的属性“ length” - Uncaught TypeError: Cannot read property 'length' of undefined in d3.js
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM