TypeError: Cannot read property 'length' of undefined
See original GitHub issueHi,
Bummed I cannot use this. I was looking forward to it.
Could you please help?
Thanks!
gj@DESKTOP-MH9OVO5:~/.bible/en$ bible --lang en 'John 3:16'
Reference: John 3:16
/usr/local/lib/node_modules/bible/node_modules/bible.js/lib/index.js:97
for (var i = 0; i < verses.length; ++i) {
^
TypeError: Cannot read property 'length' of undefined
at /usr/local/lib/node_modules/bible/node_modules/bible.js/lib/index.js:97:48
at request (/home/gj/.bible/en/lib/index.js:22:24)
at maybeCallback (/home/gj/.bible/en/node_modules/jsonrequest/lib/index.js:57:24)
at Function.<anonymous> (/home/gj/.bible/en/node_modules/tinyreq/lib/index.js:58:9)
at res (/home/gj/.bible/en/node_modules/assured/lib/index.js:27:12)
at IncomingMessage.<anonymous> (/home/gj/.bible/en/node_modules/tinyreq/lib/index.js:101:13)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Cannot read properties of undefined (reading 'length') - TrackJS
TypeError is a subset of JavaScript Error that is thrown when code attempts to do something that does not exist on the target...
Read more >Typeerror: Cannot Read Property 'length' of Undefined
A typeerror length of undefined can indicate that the actual type of an operand is different from the expected type. This error can...
Read more >Cannot read properties of undefined (reading 'length') in JS
The "TypeError: Cannot read properties of undefined (reading 'length')" error occurs when accessing the length property on an undefined value. To solve the ......
Read more >[SOLVED] Cannot Read Property 'length' of Undefined in JS
To fix the “cannot read property 'length' of undefined” error, perform an undefined check on the variable before accessing the length property ......
Read more >Cannot read property length of undefined - Stack Overflow
The error means that what ever element is returned by getElementById('WallSearch') , it does not have a value property. Every form field has...
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
The easiest way to get the fix is:
Thanks, working great now!