BUG - info object can be undefined
See original GitHub issueIn the isKnown
function, the info
variable can be empty, due to the only
option.
If the only
option does not contain the provided key, this.metaInfo(model, key)
returns undefined and naturally the function fails.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Why the 'info' object is undefined? - javascript - Stack Overflow
Most likely info is not being set because there is an error. You would have to confirm by looking at their source. You...
Read more >Object is possibly 'undefined' error in TypeScript | bobbyhadz
The "Object is possibly 'undefined'" error occurs when we try to access a property on an object that may be `undefined` (e.g. marked...
Read more >undefined - JavaScript - MDN Web Docs - Mozilla
The global undefined property represents the primitive value undefined. It is one of JavaScript's primitive types.
Read more >Cannot Read Property of Undefined in JavaScript - Rollbar
Undefined means that a variable has been declared but has not been assigned a value. In JavaScript, properties and functions can only belong...
Read more >Getting error "The undefined value has no properti...
You are getting this error because you are trying to access a property of an object that doesn't exist. I have explained this...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
v0.9.3 has the fix from #72
Hi @pjcarly, @BnitoBzh,
I’ve followed up on the original change with the pull request above. It’s difficult for me to prove this is what you need without some unit/acceptance tests from yourselves. But I’ve reasoned it though and think this might help.
Please feel free to see if this is what you need and talk to @danielspaniel about integration.