question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uncaught TypeError: Cannot read property 'join' of undefined

See original GitHub issue

I’m doing const url = 'dat://c610858d82e4c9bc9585bb26fedb260c080ed24c6a05bcf3da9ad73a6917ac82/' const archive = Hyperdrive(url)

using version "dat-sdk": "^0.1.0"

getting the following error:

index.js:931 Uncaught TypeError: Cannot read property 'join' of undefined
    at Storage.metadata [as create] (index.js:931)
    at Storage.openKey (storage.js:224)
    at Storage.openKey (storage.js:223)
    at Feed._open (index.js:326)
    at open (index.js:138)
    at run (index.js:19)
    at Feed.thunk [as _ready] (index.js:13)
    at new Feed (index.js:117)
    at Feed (index.js:37)
    at new Hyperdrive (index.js:43)
metadata @ index.js:931
Storage.openKey @ storage.js:224
Storage.openKey @ storage.js:223
Feed._open @ index.js:326
open @ index.js:138
run @ index.js:19
thunk @ index.js:13
Feed @ index.js:117
Feed @ index.js:37
Hyperdrive @ index.js:43
Hyperdrive @ index.js:26
Hyperdrive @ index.js:80
334../moloch-demo.sol @ contracts.js:7
o @ _prelude.js:1
(anonymous) @ _prelude.js:1
338.bel @ makeCollectionArea.js:3
o @ _prelude.js:1
(anonymous) @ _prelude.js:1
341../svg.json @ paginationButtons.js:3
o @ _prelude.js:1
(anonymous) @ _prelude.js:1
342.bel @ search.js:5
o @ _prelude.js:1
(anonymous) @ _prelude.js:1
333.bel @ index.js:5
o @ _prelude.js:1
r @ _prelude.js:1
(anonymous) @ _prelude.js:1
stream.js:64 WebSocket connection to 'ws://localhost:3472/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
WebSocketStream @ stream.js:64
DiscoverySwarmStreamWebsocket @ index.js:161
DiscoverySwarmWeb @ index.js:50
module.exports @ index.js:196
Hyperdiscovery @ index.js:51
module.exports @ index.js:11
SDK @ index.js:24
334../moloch-demo.sol @ contracts.js:2
o @ _prelude.js:1
(anonymous) @ _prelude.js:1
338.bel @ makeCollectionArea.js:3
o @ _prelude.js:1
(anonymous) @ _prelude.js:1
341../svg.json @ paginationButtons.js:3
o @ _prelude.js:1
(anonymous) @ _prelude.js:1
342.bel @ search.js:5
o @ _prelude.js:1
(anonymous) @ _prelude.js:1
333.bel @ index.js:5
o @ _prelude.js:1
r @ _prelude.js:1
(anonymous) @ _prelude.js:1
events.js:164 Uncaught Error: Unhandled "error" event. ([object Event])
    at Duplexify.emit (events.js:164)
    at Duplexify._destroy (index.js:191)
    at index.js:182
    at Item.run (browser.js:153)
    at drainQueue (browser.js:123)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
ninabreznikcommented, Aug 8, 2019

Sweet. Will try to update and see how it behaves. Thanks 😃

On Thu, Aug 8, 2019 at 9:21 PM RangerMauve notifications@github.com wrote:

Yeah! I just released it. 😁 It should work with the latest hyperdrive (9.16.0).

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/datproject/sdk/issues/10?email_source=notifications&email_token=AAIGZS2HBUM5RFQHICRQGWTQDR54FA5CNFSM4IJRAD6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD34ZJ3Q#issuecomment-519673070, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIGZS47YJ5G25SS4LA2RCLQDR54FANCNFSM4IJRAD6A .


Nina Breznik, Vision Baker play.ethereum.org wizardamigos.com

Twitter: @ninabreznik

Telegram: +1 510 747 84 39 Gitter: gitter.im/ninabreznik

0reactions
RangerMauvecommented, Aug 8, 2019

Yeah! I just released it. 😁 It should work with the latest hyperdrive (9.16.0).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot read property 'join' of undefined in jquery
The error is suggesting you're trying to read a property called join on an object which is undefined . However nothing in your...
Read more >
TypeError: Cannot read property 'join' of undefined when use ...
TypeError : Cannot read property 'join' of undefined when use HOC component.
Read more >
Uncaught (in promise) TypeError: Cannot read property 'join ...
This particular type error occurs when you try and access a property or method of an object which doesn't exist. You can use...
Read more >
Cannot read property 'join' of undefined - Note Sharing
The message I get is "Cannot read property 'join' of undefined " I have attached a screenshot of the browser page that Joplin...
Read more >
Cannot Read Property of Undefined in JavaScript - Rollbar
TypeError: Cannot read property of undefined occurs when a property is read or a function is called on an undefined variable.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found